Characteristics of the Lithuanian language in AX Semantics
In Lithuanian, you need to know the gender of a noun to form (together with number and case) the accompanying adjectives, determiners, numerals, and pronouns correctly.
Lithuanian has two genders for nouns: masculine, feminine. There are two numbers: singular and plural. Additionally, Lithuanian has seven cases for nouns.
|gender (noun)||masculine||senasis gydytojas|
(the old doctor)
(the old woman)
(the old car)
(the old cars)
|dative||Duodu kamuolį šuniui.|
(I give the ball to the dog.)
(I see the dog.)
|instrumental||Aklasis vaikšto su šuniu.|
(The blind man walks with a dog.)
|locative||Kaulas buvo šunyje.|
(The bone was in the dog.)
|adjectives (noun)||before noun||raudonasis namas|
|verb tenses||present||Jis dìrba|
The standard order of a noun phrase in Lithuanian is the following:
preposition + determiner + numeral + adjective + noun. See for example:
apie šias tris populiarias knygas about these three popular book PREP DET NUM ADJ NOUN "about these three popular books"
Lithuanian nouns are inflected for number and case. When the lexicon entry is missing, the NLG platform will try to find the most probable gender based on heuristics. However, nouns should be added to the lexicon with their grammatical gender if they do not inflect regularly.
Lexicon entries for nouns may also be necessary for inflecting determiners, adjectives and pronouns correctly. They are omitted, if a lexicon entry is required, but missing.
The basic lexicon entry for šuo (dog) contains:
- gender: masculine
- inflection table for case and number:
If you need lexicon entries for countries, write to the support about that and you will get them for Lithuanian with automatic handling of prepositions.
In the lexicon, the inflection table encodes gender, case, and number. For adjective position, the default is "before noun". Unlike nouns, adjectives actually have three genders, but neuter adjectives are not used in noun phrases and are not inflected.
Lithuanian verbs inflect for person, number, and tense. The most common verbs are encoded in our software. If a verb inflects incorrectly, you should add it to the lexicon.
The AX NLG platform supports the following determiners for Lithuanian: demonstrative, possessive, and quantifier (every). Lithuanian does not have definite and indefinite determiners.
The noun will automatically agree with the numeral number when a numeral variable is used. Four types of numerals are possible on the AX NLG platform: cardinal, cardinal as digit, ordinal, and ordinal as digit.
(the ninth day)
(the 9th day)
For Lithuanian, ordinal numerals are written out until 10, otherwise (above 10) the output is in digit form. Cardinal numerals are written out for 1-20, 30, 40, …, and 100, otherwise the output is in digit form.
devyniasdešimt automobilių (ninty cars) 101 automobilis (101 cars)
Note that if cardinal numerals are written out, numerals ending with 1-9 will inflect for gender. However, this rule does not apply to teens (11-19). For example:
|1-9||aštuoni gydytojai [m.]|
(eight doctors [m.])