Word Paradigm Generator

The service «Word Paradigm Generator» allows to get the word paradigm. The service receives a word or its word forms at the input, then the service searches for a paradigm in the dictionary, and in case of the absence of a ready-made paradigm, at the output the user receives the generated paradigm of the entered word or paradigm created on the basis of words similar in writing. The resulting generated paradigms have an accent marked with the “+” symbol, and special tags separated from the word by the underscore “_”.


Basic terms and concepts

Grammatical meaning of the word – the word characteristics in terms of its affiliation to a particular grammatical category. Grammatical categories are, for example, the values ​​of gender, number, case, declination, inclination, aspect and others. Grammatical values ​​help to classify the vocabulary of language. For example, nouns “tree” and “sun” have a different lexical, but the same grammatical meaning – these are common, inanimate, neuter, singular nouns in nominative case [1].

Lexema or Paradygmatycal word – a word as an abstract (non-textual, dictionary) language unit [2, p. 20].

Lemma – the initial form of the word. For example, for nouns it is nominative singular form (lemma of the word clouds is cloud in English, lemma of the word аблокаў – воблака in Belarusian).

Paradigm – a set of all word forms of the word. For example, tree, trees in English or дрэва, дрэва, дрэву, дрэва, дрэвам, дрэве, дрэвы, дрэваў, дрэвам, дрэвы, дрэвамі, дрэвах in Belarusian.

Word – one of the basic structural units of a language that serves to name the concepts.

Word form – identifies different grammatical meaning of the word, while maintaining its lexical meaning.

NooJ – software to develop linguistic processes [3, 4].

Word forms of one lexema have derivational paradigm (wood, woods or лесу, лесам, лесе і г. д.), which is the result of the service.


Practical value

The service helps in creating linguoacoustic resources, in particular, dictionaries. For example, dictionaries of another platform service www.corpus.by «Spell Checker» were created using this service, namely, user dictionaries of the Belarusian language S2016_01 [5], S2016_03 [6]. Also, the results of the service are useful in individual use if it is necessary to get to know one or another form of the word.


Service Features

In work of the service, the SBM1987 dictionary created on the basis of the publication «Слоўнік беларускай мовы. Арфаграфія. Арфаэпія. Акцэнтуацыя. Словазмяненне / пад рэд. М.В. Бірылы. – Мінск, 1987» [4] is used, which is also involved in the work of the «Spell Checker» service.

Tags that are displayed after the “_” symbol help to indicate the grammatical meaning of the word, for example, part of speech, gender, number, case, etc., and generate paradigms of the input word based on similar words with the same grammatical meaning (if the input word cannot be found in the service dictionaries). These tags are necessary directly for the work of the service and are currently not freely available. In the future, they will be implemented as user interface elements, namely drop-down menus, which will provide the opportunity to sequentially set the desired grammatical meaning of the word. Currently, user can select only part of speech of the entered word in the drop-down menu.

At the moment, the service generates paradigms for words in Belarusian language. Mastering the word processing in other languages by service is possible by adding dictionaries and linguo-acoustic resources of these languages, respectively.


Interface Description

The graphical interface of the service is shown in figure 1.

Малюнак 1. Графічны інтэрфейс сэрвісу «Генератар парадыгмы слова»

Figure 1. Graphical interface of the service «Word paradigm generator»


The interface contains the following areas:

  • Input field for word form (s);
  • Choice of processing method (dictionary);
  • Auxiliary selection of a tag and/or part of speech;
  • Button «Generate possible paradigms!», which starts processing and gives the opportunity to get results.


User work with service scenarios

Scenario 1. Generation of a paradigm missing in the dictionary according to similar spelling words

  1. Enter the desired word and/or its word form in the input field (for example, аўдыягід).
  2. Below the input field, mark «Processing according to wordforms dictionary».
  3. To obtain not all the possible paradigms, but only paradigms the closest to the correct variant, in the field «All parts of speech» mark a part of speech (аўдыягід is a noun). Along with this, only paradigms composed on the basis of similar words of the selected part of speech will be proposed as refinements.
  4. Click «Generate probable paradigms!» and get the result. The service will find words similar in writing and offer the user paradigms created using their example. The absence of a paradigm in the dictionary will be marked by the expression #This paradigm is generated based on the following words (figure 2).
  5. Consider the proposed paradigms and select the appropriate or closest to the correct paradigm, and make corrections if necessary.

For example, there is no paradigm of the word аўдыягід in the service dictionary. When scenario 1 of work with the service is executed, the result will show paradigms based on all words similar in writing found in the dictionary – гід, альдэгід, поліфармальдэгід, фармальдэгід, агід, эгід (figure 2).

Малюнак 2. Вынікі генерацыі парадыгмы паводле слоўніка словаформ, калі парадыгма адсутнічае ў слоўніку і складзена на падставе падобных па напісанні слоў

Figure 2. Results of paradigm generation according to the dictionary of word forms, if the paradigm is absent in the dictionary and generated based on words similar in writing

Obviously, the closest to the correct one is the paradigm based on the word гід, but in this paradigm inappropriate word forms of the accusative singular and plural are generated, since гід is an animated noun, and аўдыягід is inanimate. Paradigms generated based on other words contain even more discrepancies, since the service took inanimate words (альдэгід, поліфармальдэгід, фармальдэгід) and word forms of feminine words (агіда, эгіда) as an example.

Difficulties may arise when generating paradigms of rarely used, specific words or words that are new for language. So, for the word агмень service offers 17 variants of paradigms, generated on the basis of nouns with different grammatical meanings. In such cases, when choosing a paradigm, the user must rely on his own knowledge and subject literature (dictionaries, reference books, etc.).


Scenario 2. Search for a word paradigm in a dictionary of word forms

  1. Enter the desired word and/or its word form (for example, дрэва) in the input field.
  2. Below the input field, mark «Processing according to wordforms dictionary».
  3. To speed up the service, you can select a part of speech in the «All parts of speech» field (дрэва is a noun).
  4. Click «Generate probable paradigms!» and get the result. The paradigm found in the dictionary will be marked with the expression #The paradigm is found in the dictionary (figure 3).
Малюнак 3. Вынік генерацыі парадыгмы паводле слоўніка словаформ, калі парадыгма знойдзена ў слоўніку

Figure 3. The result of generating a paradigm according to the wordforms dictionary, if a paradigm is found in the dictionary

If you enter an incorrect entry (punctuation marks, numbers, Latin characters, large text, etc.), the service will notify you with a corresponding mark. For example, when entering the phrase зялёнае дрэва,%7# the following output will be received:

зялёнае дрэва,%7# – incorrect request
Example of correct request: загадчык


Scenario 3. Generation of a word paradigm according to the NooJ inflectional dictionary

  1. Enter the desired word and/or its word form in the input field, separating by jumps to a new line. (e.g. клад,NOUN кладзе,NOUN кладамі,NOUN).
  2. Below the input field, note «Processing according to dictionary of inflections in NooJ format». For the correct work of this dictionary, part of the speech should not be marked.
  3. Click «Generate probable paradigms!» and get the result (figure 4).
Малюнак 4. Вынікі генерацыі парадыгмы паводле флексійнага слоўніка NooJ

Figure 4. Paradigm generation results from the NooJ inflectional dictionary

After receiving the results of work according to this scenario, the user should also carefully consider the proposed paradigms and select the correct one.


Access to the service through the API

To access the «Word Paradigm Generator» service via the API, you need to send an AJAX request of the POST type to the address https://corpus.by/WordParadigmGenerator/api.php. Elements of the input array data have the following parameters:

  • text — a word or several words, the full paradigm of which must be obtained. The format depends on the operating mode of the service. In the «general» mode, words are entered without additional marks through the line feed. In the «nooj» mode, words are entered in the format «word,part of speech», for example, «клад,NOUN».
  • mode — service operation mode. Two modes are available: «general» and «nooj».
  • tag — a tag indicating a number of grammatical features of a word. For example, «NNAMO».
  • category — the grammatical category of the word. The following categories are available: “усе”, “назоўнік”, “прыметнік”, “лічэбнік”, “займеннік”, “дзеяслоў”, “прыслоўе”, “прыназоўнік”, “злучнік”, “часціца”, “выклічнік”.

Example of AJAX request:

   type: “POST”,
   url: “https://corpus.by/WordParadigmGenerator/api.php”,
      “text”: “абмакванне абмакваннямі абмакванню”,
      “mode”: “general”,
      “tag”: “”,
      “category”: “назоўнік”
   success: function(msg){ }

The server will return a JSON array with the following parameters:

  • text — input words.
  • result — summary list of paradigms.

For example, using the above AJAX request, the following response will be generated:

      “text”: “абмакванне

      “result”: #This paradigm is generated based on the following words : абвалакванне, адскакванне, аплакванне, вывалакванне, завалакванне, звалакванне, падскакванне, падтакванне, праскакванне, развалакванне, саскакванне, узвалакванне, ускакванне
абма+кванні_NNINR <…>”



References to sources

Page of the service: https://corpus.by/WordParadigmGenerator/?lang=en


Cross references

  1. Грамматическое значение слова
  2. Зализняк А.А. «Русское именное словоизменение» с приложением избранных работ по современному русскому языку и общему языкознанию. – М. : Языки славянской культуры, 2002. – I-VIII. – 752 с.
  3. NooJ on Wikipedia
  4. Official NooJ page
  5. The user dictionary of Belarusian language of the service «Spell Checker» S2016_01
  6. The user dictionary of Belarusian language of the service «Spell Checker» S2016_03
  7. Слоўнік беларускай мовы. Арфаграфія. Арфаэпія. Акцэнтуацыя. Словазмяненне / пад рэд. М.В. Бірылы. – Мінск, 1987.

Калі Вы знайшлі ў тэксце памылку правапісу, калі ласка, выдзеліце гэты тэкст і націсніце Ctrl+Enter.