Result format:
result ::= {citation EOL feature-set {"," 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,
separated by an EOL character ('\n'). After each single citation form there
are one or more combinations of features.
The last element of each result is the character '#'. This can be used in
C/C++ API to determine if the result is complete, or if there was an overflow,
due to an insufficient result string allocation by the client.
Here is the output of the integration test programs:
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) #
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" |
OCapRule | "Spelling Rule" |
ORule | "Spelling Rule" |
OSepRule | "Spelling Rule" |
Ortho | "Spelling Variant" |
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" |