Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [INPUT]
- $ echo "[{<em>}]^beautiful<adj>/bello<adj>/bonito<adj>/lindo<adj>/hermoso<adj>$ [{<i><b>}]^mind<n><sg>/mente<n><f><sg>$^.<sent>/.<sent>$" | apertium-transfer -b -t apertium-en-es.en-es.t1x en-es.t1x.bin
- [OUTPUT]
- tt_word, tmpword.size()==0 word=beautiful<adj>/bello<adj>/bonito<adj>/lindo<adj>/hermoso<adj>
- finals found, last_out set to 1
- apertium-transfer: Rule 108 beautiful<adj>/bello<adj>/bonito<adj>/lindo<adj>/hermoso<adj>
- tt_word, tmpword.size()==1 word=mind<n><sg>/mente<n><f><sg>
- finals found, last_out set to 2
- apertium-transfer: Rule 16 beautiful<adj>/bello<adj>/bonito<adj>/lindo<adj>/hermoso<adj> mind<n><sg>/mente<n><f><sg>
- tt_word, tmpword.size()==2 word=.<sent>/.<sent>
- applyRule, limit=2
- word[0]=beautiful<adj>/bello<adj>/bonito<adj>/lindo<adj>/hermoso<adj> format[0]=[{<em>}] freeblank[0]=
- word[1]=mind<n><sg>/mente<n><f><sg> format[1]=[{<i><b>}] freeblank[1]=
- processRule
- blank=?
- blank=
- ^Nom_adj<SN><UNDET><f><sg>{[{<i><b>}]^mente<n><3><4>$ [{<em>}]^bello<adj><3><4>$}$tt_word, tmpword.size()==0 word=.<sent>/.<sent>
- finals found, last_out set to 3
- apertium-transfer: Rule 224 .<sent>/.<sent>
- tt_eof, tmpword.size()==1 word=
- applyRule, limit=1
- word[0]=.<sent>/.<sent> format[0]= freeblank[0]=
- processRule
- ^punt<sent>{^.<sent>$}$tt_eof, tmpword.size()==0 word=
Add Comment
Please, Sign In to add comment