Linguistic resources

This is the documentation for 1.16.3 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)

english-ordinals

ordinal numbers in English

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-adjectives-wrapper

technical wrapper over french-adjectives

MIT (same author as RosaeNLG)

french-determiners

generates French determiners

MIT (same author as RosaeNLG)

french-contractions

French words that are 'aspiré' (vs. 'muet'), for determiners, adjectives, and contractions

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 and plural 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 (through french-words)

MIT

titlecase-french (via rosaenlg-filter)

title case (for titles) in French

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)

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, 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)

Table 6. Spanish specific
Resource Usage Licence

ordinal-spanish

ordinal numbers for Spanish

MIT

rosaenlg-gender-es

gender of Spanish words, based on rules and exceptions

MIT (based on a fork of [gender-es](https://github.com/swestrich/gender-es))

rosaenlg-pluralize-es

plural of Spanish words, based on rules and exceptions

MIT (based on a fork of [pluralize-es](https://github.com/jfromaniello/pluralize-es))

spanish-adjectives

Spanish adjectives, based on rules and exceptions

MIT (same author as RosaeNLG)

spanish-adjectives-wrapper

technical wrapper over spanish-adjectives

MIT (same author as RosaeNLG)

spanish-determiners

generates Spanish determiners

MIT (same author as RosaeNLG)

spanish-verbs

Spanish verbs conjugation, based on rules and exceptions

MIT (based on [conjugator](https://github.com/ehoogerbeets/conjugator))

spanish-verbs-wrapper

technical wrapper over spanish-verbs

MIT (same author as RosaeNLG)

spanish-words

technical wrapper over rosaenlg-gender-es and rosaenlg-pluralize-es

MIT (same author as RosaeNLG)