SilentFlame

transfer_1

Apr 1st, 2017
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.29 KB | None | 0 0
  1. [INPUT]
  2. $ 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
  3.  
  4. [OUTPUT]
  5. tt_word, tmpword.size()==0 word=beautiful<adj>/bello<adj>/bonito<adj>/lindo<adj>/hermoso<adj>
  6. finals found, last_out set to 1
  7.  
  8. apertium-transfer: Rule 108 beautiful<adj>/bello<adj>/bonito<adj>/lindo<adj>/hermoso<adj>
  9. tt_word, tmpword.size()==1 word=mind<n><sg>/mente<n><f><sg>
  10. finals found, last_out set to 2
  11.  
  12. apertium-transfer: Rule 16 beautiful<adj>/bello<adj>/bonito<adj>/lindo<adj>/hermoso<adj> mind<n><sg>/mente<n><f><sg>
  13. tt_word, tmpword.size()==2 word=.<sent>/.<sent>
  14. applyRule, limit=2
  15. word[0]=beautiful<adj>/bello<adj>/bonito<adj>/lindo<adj>/hermoso<adj> format[0]=[{<em>}] freeblank[0]=
  16. word[1]=mind<n><sg>/mente<n><f><sg> format[1]=[{<i><b>}] freeblank[1]=
  17. processRule
  18. blank=?
  19. blank=
  20. ^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>
  21. finals found, last_out set to 3
  22.  
  23. apertium-transfer: Rule 224 .<sent>/.<sent>
  24. tt_eof, tmpword.size()==1 word=
  25. applyRule, limit=1
  26. word[0]=.<sent>/.<sent> format[0]= freeblank[0]=
  27. processRule
  28. ^punt<sent>{^.<sent>$}$tt_eof, tmpword.size()==0 word=
Add Comment
Please, Sign In to add comment