Difference between revisions of "Monolingual packages"

From Apertium
Jump to navigation Jump to search
 
Line 3: Line 3:
==Source files==
==Source files==


==Modes==
==Compiled files==


==Supported modes==
Monolingual packages are likely to have some of the following modes:

Monolingual packages are likely to have some of the following [[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-segmenter
$ 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$
^Xukʼut/X>u>kʼut$ ^le/le$ ^Kʼicheʼ/kʼicheʼ$
^le/le$ ^al/al/ali$ ^Nela/Nela$ ^chqawach/ch>qa>wach$^./.$
^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>





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ʃʰ$.