Linguistic resources

This is the documentation for 1.12.1 version, which is not the latest version. Consider upgrading to 3.4.0.

Depending on the output language, RosaeNLG will load some linguistic resources and use linguistic libraries, to make agreements and to conjugate verbs.

Table 1. Used by all languages
Resource Usage Licence

rosaenlg-filter

filter sub module

MIT (same author as RosaeNLG)

random-js

random numbers

MIT

moment: moment.js

dates and times formatting. moment can also be accessed directly via util.moment

MIT

numeral: numeral.js

numbers formatting. numeral can also be accessed directly via util.numeral

MIT

n2words

Cardinal numbers in letters: 5 → five etc. (except for German)

MIT

Table 2. English specific
Resource Usage Licence

english-determiners

generates English determiners

MIT (same author as RosaeNLG)

english-verbs-helper

To conjugate English verbs

MIT (same author as RosaeNLG)

english-verbs-gerunds

English gerunds (ing), based on WordNet

MIT (same author as RosaeNLG)

english-verbs-irregular

English irregular verbs

MIT (same author as RosaeNLG)

english-a-an

English a an helper

MIT (same author as RosaeNLG)

english-a-an-list

list of words or adjectives that must be preceded by an

MIT (same author as RosaeNLG)

better-title-case (via rosaenlg-filter)

title case (for titles) in English

MIT

Table 3. French specific
Resource Usage Licence

| french-adjectives | agreement of French adjectives | MIT (same author as RosaeNLG) | french-determiners | generates French determiners | MIT (same author as RosaeNLG) | french-h-muet-aspire | French words that are 'aspiré' (vs. 'muet') | MIT (same author as RosaeNLG) | french-ordinals | ordinal numbers in French | MIT (same author as RosaeNLG) | french-verbs | agreement of French verbs | MIT (same author as RosaeNLG) | french-verbs-lefff | French verbs resource, based on LEFFF | MIT (same author as RosaeNLG) | french-verbs-intransitive | French intransitive verbs | MIT (same author as RosaeNLG) | french-words-gender | gender of French words | MIT (same author as RosaeNLG) | french-words-gender-lefff | French words resource, based on LEFFF | MIT (same author as RosaeNLG) | lefff-helper | wrapper on a Lefff database | MIT (same author as RosaeNLG) | pluralize-fr | pluralize nouns | MIT | titlecase-french (via rosaenlg-filter) | title case (for titles) in French | MIT

.German specific [options="header"]

| Resource | Usage | Licence

german-adjectives

case for German adjectives

MIT (same author as RosaeNLG)

german-adjectives-dict

German adjectives linguistic resource (based on german-pos-dict)

MIT (same author as RosaeNLG)

german-determiners

generates German determiners

MIT (same author as RosaeNLG)

german-dict-helper

wrapper on a German language database

MIT (same author as RosaeNLG)

german-ordinals

ordinal numbers in German

MIT (same author as RosaeNLG)

german-verbs

German verbs management

MIT (same author as RosaeNLG)

german-verbs-dict

linguistic resource for german-verbs (based on german-pos-dict)

MIT (same author as RosaeNLG)

german-words

German words management

MIT (same author as RosaeNLG)

german-words-dict

linguistic resource for german-words (based on german-pos-dict)

MIT (same author as RosaeNLG)

Table 4. Italian specific
Resource Usage Licence

italian-adjectives | agreement of Italian adjectives | MIT (same author as RosaeNLG) | italian-adjectives-dict | linguistic resource for italian-adjectives, based on morph-it | MIT (same author as RosaeNLG) | italian-determiners | generates Italian determiners | MIT (same author as RosaeNLG) | italian-ordinals-cardinals | Italian cardinal and ordinal numbers | MIT (same author as RosaeNLG, with contributions) | italian-verbs | agreement of Italian verbs | MIT (same author as RosaeNLG) | italian-verbs-dict | linguistic resource for italian-verbs, based on morph-it | MIT (same author as RosaeNLG) | italian-words | agreement of Italian words | MIT (same author as RosaeNLG) | italian-words-dict | linguistic resource for italian-words, based on morph-it | MIT (same author as RosaeNLG) | morph-it-helper | wrapper on morph-it database | MIT (same author as RosaeNLG)