User:Unhammer/pipeline example

From Apertium
Jump to navigation Jump to search
# Input:
the houses

# After morphological analysis, each analysis is after a /:
^the/the<det>$ ^houses/house<n><pl>/house<v><pres><p3><sg>$ 

# After disambiguation, one of the /-separated units is selected:
^the<det>$ ^house<n><pl>$ 

# After bilingual dictionary lookup, we may also have several translations separated by /:
^the<det>/der<det><GD><ND>$ ^house<n><pl>/Haus<n><nt><pl>/Versammlung<n><f><pl>$ 

# After lexical selection, one of the /-separated units is selected:
^der<det><GD><ND>$ ^Haus<n><nt><pl>$ 

# After transfer, tags are fixed (and words may be reordered):
^der<det><nt><pl>$ ^Haus<n><nt><pl>$ 

# After morphological generation:
die Häuser