Difference between revisions of "User:Firespeaker/Removing bidix trimming"
Jump to navigation
Jump to search
Firespeaker (talk | contribs) |
Firespeaker (talk | contribs) |
||
Line 1: | Line 1: | ||
== For transfer == |
== For transfer == |
||
=== OOV |
=== OOV handled poorly with trimming === |
||
<pre> |
<pre> |
||
Line 17: | Line 17: | ||
$ echo "Айгүл күчүктү байкабаптыр." | apertium -d . kir-eng |
$ echo "Айгүл күчүктү байкабаптыр." | apertium -d . kir-eng |
||
#Aygül puppy *байкабаптыр. |
#Aygül puppy *байкабаптыр. |
||
</pre> |
|||
=== OOV handled much better without trimming === |
|||
<pre> |
|||
$ echo "^Айгүл<np><ant><f><nom>$ ^күчүк<n><acc>$ ^байка<v><tv><ifi><evid><p3><sg>$^.<sent>$^.<sent>$" | rest-of-pipeline |
|||
Aygül @байка puppy.. |
|||
$ echo "^Айгүл<np><ant><f><nom>$ ^күчүк<n><acc>$ ^байка<v><tv><neg><ifi><evid><p3><sg>$^.<sent>$^.<sent>$" | rest-of-pipeline |
|||
Aygül did not @байка puppy.. |
|||
</pre> |
</pre> |
||
Line 27: | Line 36: | ||
$ echo "Айгүл күчүктү байкабаптыр." | apertium -d . kir-eng |
$ echo "Айгүл күчүктү байкабаптыр." | apertium -d . kir-eng |
||
Aygül did not @байка puppy. |
Aygül did not @байка puppy. |
||
</pre> |
|||
OR |
|||
<pre> |
|||
$ echo "Айгүл күчүктү байкаптыр." | apertium -d . kir-eng |
|||
Aygül @байкабаптыр puppy. |
|||
$ echo "Айгүл күчүктү байкабаптыр." | apertium -d . kir-eng |
|||
Aygül did not @байкабаптыр puppy. |
|||
</pre> |
</pre> |
Revision as of 19:25, 14 June 2020
Contents
For transfer
OOV handled poorly with trimming
$ echo "Айгүл күчүктү издептир." | apertium -d . kir-eng Aygül looked for puppy. $ echo "Айгүл күчүктү издебептир." | apertium -d . kir-eng Aygül did not look for puppy.
$ echo "Айгүл күчүктү байкаптыр." | apertium -d . kir-eng #Aygül puppy *байкаптыр. $ echo "Айгүл күчүктү байкабаптыр." | apertium -d . kir-eng #Aygül puppy *байкабаптыр.
OOV handled much better without trimming
$ echo "^Айгүл<np><ant><f><nom>$ ^күчүк<n><acc>$ ^байка<v><tv><ifi><evid><p3><sg>$^.<sent>$^.<sent>$" | rest-of-pipeline Aygül @байка puppy.. $ echo "^Айгүл<np><ant><f><nom>$ ^күчүк<n><acc>$ ^байка<v><tv><neg><ifi><evid><p3><sg>$^.<sent>$^.<sent>$" | rest-of-pipeline Aygül did not @байка puppy..
Ideal OOV handling
$ echo "Айгүл күчүктү байкаптыр." | apertium -d . kir-eng Aygül @байка-ed puppy. $ echo "Айгүл күчүктү байкабаптыр." | apertium -d . kir-eng Aygül did not @байка puppy.
OR
$ echo "Айгүл күчүктү байкаптыр." | apertium -d . kir-eng Aygül @байкабаптыр puppy. $ echo "Айгүл күчүктү байкабаптыр." | apertium -d . kir-eng Aygül did not @байкабаптыр puppy.