LanguageTools Inflection Analyzer:
Output Syntax Description

Java-Based Results

The Java API provides a convenient way to get and manage the results of a query. Have a look at the IAnswer interface javadoc to read more information on how to use it within your code

All Java API answers can be transformed to string-based answers, using methods of the class APIConversions

String-Based Results

If there is no result, the API function returns null.
If the API function returns a single string, the character '#' signals the end of the result (used for C/C++ answers). If the API function returns an array of strings (Java implementation), the character '#' is not part of the result.

Result format:

result       ::=  {citation EOL feature-set 
                  {"," EOL feature-set}} EOL.
feature-set  ::=  {feature-pair}.
feature-pair ::=  "(" attribute value ")".
citation     ::=  string.
attribute    ::=  string.
value        ::=  string.


The result of a query consists of a sequence of citation forms. Each single citation form is followed by one or more combinations of features.

Here is an extract of the output of the integration test program for German:

query   -> ging
result  -> gehen
             (Cat V)(Aux sein)(Mod Ind)(Temp Impf)(Pers 1st)(Num SG)(ID 0-1),
             (Cat V)(Aux sein)(Mod Ind)(Temp Impf)(Pers 3rd)(Num SG)(ID 0-1)



query   -> moegen 
result  -> mögen
             (Cat V)(Aux haben)(Mod Inf)(Temp Pres)(Flach ouml)(ID 0-1),
             (Cat V)(Aux haben)(Mod Ind)(Temp Pres)(Pers 1st)(Num PL)(Flach ouml)
               (ID 0-1),
             (Cat V)(Aux haben)(Mod Ind)(Temp Pres)(Pers 3rd)(Num PL)(Flach ouml)
               (ID 0-1),
             (Cat V)(Aux haben)(Mod Conj-1)(Temp Pres)(Pers 1st)(Num PL)
               (Flach ouml)(ID 0-1),
             (Cat V)(Aux haben)(Mod Conj-1)(Temp Pres)(Pers 3rd)(Num PL)
               (Flach ouml)(ID 0-1),
             (Cat N)(Gender N)(Num SG)(Case Nom)(ID 0-1)(Flach ouml),
             (Cat N)(Gender N)(Num SG)(Case Acc)(ID 0-1)(Flach ouml),
             (Cat N)(Gender N)(Num SG)(Case Dat)(ID 0-1)(Flach ouml)


query   -> moegen   Filter: (Cat N)
result  -> mögen
             (Cat N)(Gender N)(Num SG)(Case Nom)(ID 0-1)(Flach ouml),
             (Cat N)(Gender N)(Num SG)(Case Acc)(ID 0-1)(Flach ouml),
             (Cat N)(Gender N)(Num SG)(Case Dat)(ID 0-1)(Flach ouml)
           


Here is an extract of the output of the integration test program for English:

query   -> went
result  -> go
             (Cat V)(Variety BCE)(Tense Past)(ID 0-1)


query   -> cat's
filter  -> (Cat N)
result  -> cat
             (Cat N)(Variety BCE)(Num SG)(Combination N+'s/Clitic)(ID 0-1),
             (Cat N)(Variety BCE)(Num SG)(Combination N+have/V)(ID 0-1),
             (Cat N)(Variety BCE)(Num SG)(Combination N+be/V)(ID 0-1)
              

Feature Elements

Attribute Meaning
AForm "Adjective Form"
Abbr "Type"
Acron "Type"
Article "Article"
Aux "Auxiliary"
Case "Case"
Cat "Category"
Conjug "Conjugation"
Decl "Inflection"
Degree "Degree"
Derivation "Derived from"
Form "Form"
Gender "Gender"
Genitiv "Genitive"
Language "Language"
Lexem "Lexem"
Lexeme "in the sense of"
Manner "Type"
Meaning "Meaning"
Mod "Mood"
Name "Name"
Num "Number"
Pers "Person"
Plur "Plural"
Plural "Plural"
Position "Position"
Pref "Prefix"
Prefix "Prefix"
Prep+Art "Preposition + Article"
Short "Shortening of"
Sing "Singular"
Temp "Tense"
Var "Variant"

Please note that there are some language-specific features that need to be considered.