Difference between revisions of "Monolingual packages"
Jump to navigation
Jump to search
(Created page with " ==Source files== ==Modes== Monolingual packages are likely to have some of the following modes: ===Analysis=== ===Generation=== ===Disambiguation=== ===Segmentation===...") |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | {{TOCD}} |
||
− | |||
==Source files== |
==Source files== |
||
− | == |
+ | ==Compiled files== |
+ | ==Supported modes== |
||
⚫ | |||
+ | |||
⚫ | |||
===Analysis=== |
===Analysis=== |
||
+ | <pre> |
||
− | ===Generation=== |
||
+ | $ 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>$ |
||
+ | </pre> |
||
===Disambiguation=== |
===Disambiguation=== |
||
+ | |||
+ | ; In Apertium format: |
||
+ | <pre> |
||
+ | $ 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>$ |
||
+ | </pre> |
||
+ | |||
+ | ; In CG format: |
||
+ | <pre> |
||
+ | $ 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 |
||
+ | </pre> |
||
===Segmentation=== |
===Segmentation=== |
||
<pre> |
<pre> |
||
− | $ echo "Xukʼut le Kʼicheʼ chʼabʼal le al Nela chqawach." | apertium -n -d . quc- |
+ | $ 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ʼ |
+ | ^Xukʼut/X>u>kʼut$ ^le/le$ ^Kʼicheʼ/kʼicheʼ$ |
− | ^le/le$ ^al/al/ali$ ^Nela/Nela$ |
+ | ^chʼabʼal/chʼabal/chʼabʼal$ ^le/le$ ^al/al/ali$ ^Nela/Nela$ |
+ | ^chqawach/ch>qa>wach$^./.$ |
||
</pre> |
</pre> |
||
===Phonemisation=== |
===Phonemisation=== |
||
+ | <pre> |
||
+ | $ 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ʃʰ$. |
||
+ | </pre> |
||
+ | |||
+ | |||
+ | [[Category:Documentation]] |
Latest revision as of 13:39, 9 July 2020
Source files[edit]
Compiled files[edit]
Supported modes[edit]
Monolingual packages are likely to have some of the following modes:
Analysis[edit]
$ 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[edit]
- 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[edit]
$ 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[edit]
$ 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ʃʰ$.