Linguistic resources

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

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)

compromise

It is used to pluralize nouns, to format numbers, to output cardinal and ordinal numbers. This lib can also be accessed directly via util.compromise.

MIT

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 | written-number | French cardinal numbers in letters (5 → cinq etc.) | MIT

Table 4. German specific
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) | write-int | German cardinal numbers in letters | MIT

Table 5. 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) | 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)