Monolingual packages
Jump to navigation
Jump to search
Source files
Compiled files
Supported modes
Monolingual packages are likely to have some of the following modes:
Analysis
$ echo "Xukʼut le Kʼicheʼ chʼabʼal le al Nela chqawach." | apertium -n -d . quc-morph ^Xukʼut/<perf><o_sg3><s_sg3>kʼut<v><tv>$ ^le/le<det>/le<prn><rel>$ ^Kʼicheʼ/kʼicheʼ<adj>/kʼicheʼ<n>$ ^chʼabʼal/chʼabʼal<n>$ ^le/le<det>/le<prn><rel>$ ^al/ali<clf><f>/al<adj>$ ^Nela/Nela<np><ant><f>$ ^chqawach/chi<pr>+<px1pl>wach<n><rel>$^./.<sent>$
Disambiguation
- In Apertium format
$ echo "Xukʼut le Kʼicheʼ chʼabʼal le al Nela chqawach." | apertium -n -d . quc-tagger ^kʼut<v><tv><perf><o_sg3><s_sg3>$ ^le<det>$ ^kʼicheʼ<adj>$ ^chʼabʼal<n>$ ^le<det>$ ^ali<clf><f>$ ^Nela<np><ant><f>$ ^chi<pr>+wach<n><rel><px1pl>$^.<sent>$
- In CG format
$ echo "Xukʼut le Kʼicheʼ chʼabʼal le al Nela chqawach." | apertium -n -d . quc-disam "<Xukʼut>" "kʼut" v tv perf o_sg3 s_sg3 "<le>" "le" det ; "le" prn rel REMOVE:195 "<Kʼicheʼ>" "kʼicheʼ" adj SELECT:97 ; "kʼicheʼ" n SELECT:97 "<chʼabʼal>" "chʼabʼal" n "<le>" "le" det ; "le" prn rel REMOVE:195 "<al>" "ali" clf f SELECT:99 ; "al" adj SELECT:99 "<Nela>" "Nela" np ant f "<chqawach>" "chi" pr "wach" n rel px1pl "<.>" "." sent
Segmentation
$ echo "Xukʼut le Kʼicheʼ chʼabʼal le al Nela chqawach." | apertium -n -d . quc-segment ^Xukʼut/X>u>kʼut$ ^le/le$ ^Kʼicheʼ/kʼicheʼ$ ^chʼabʼal/chʼabal/chʼabʼal$ ^le/le$ ^al/al/ali$ ^Nela/Nela$ ^chqawach/ch>qa>wach$^./.$
Phonemisation
$ echo "Xukʼut le Kʼicheʼ chʼabʼal le al Nela chqawach." | apertium -n -d . quc-phon ^Xukʼut/ʃukʼutʰ$ ^le/le$ ^Kʼicheʼ/kʼitʃʰeʔ$ ^chʼabʼal/tʃʼaɓal$ ^le/le$ ^al/al$ ^Nela/nela$ ^chqawach/tʃʰqʰaʋatʃʰ$.