Difference between revisions of "Multiwords"
Jump to navigation
Jump to search
Line 31: | Line 31: | ||
* Have two paradigms for each adjective, one with tags, one without. (bad) |
* Have two paradigms for each adjective, one with tags, one without. (bad) |
||
* Have more than one entry per multi-word — this is done in <code>apertium-es-ca</code>, see "dirección general", "direcciones generales". (bad) |
Revision as of 22:33, 20 November 2007
Its possible to have pretty complex multiword combinations.
<e lm="zračna luka"> <i>zračn</i> <par n="zračn/a__adj"/> <p> <l><b/>luk</l> <r><g><b/>luk</g></r> </p> <par n="stolic/a__n"/> </e>
$ echo "zračna luka" | lt-proc sh-mk.automorf.bin ^zračna luka/zračna<adj><f><sg><nom># luka<n><f><gen><pl>/zračna<adj><f><sg><nom># luka<n><f><nom><sg>$ $ echo "zračna luka" | lt-proc sh-mk.automorf.bin | apertium-tagger -g sh-mk.prob ^zračna<adj><f><sg><nom># luka<n><f><gen><pl>$ $ echo "zračna luka" | lt-proc sh-mk.automorf.bin | apertium-tagger -g sh-mk.prob | apertium-pretransfer ^zračna# luka<adj><f><sg><nom><n><f><gen><pl>$
Problems:
- How to resolve
^zračna# luka<adj><f><sg><nom><n><f><gen><pl>$
in the bidix?
Solutions:
- Have two paradigms for each adjective, one with tags, one without. (bad)
- Have more than one entry per multi-word — this is done in
apertium-es-ca
, see "dirección general", "direcciones generales". (bad)