Difference between revisions of "ESSLLI CG course"

From Apertium
Jump to navigation Jump to search
(Created page with ' ==Serbo-Croatian== SVN: https://apertium.svn.sourceforge.net/svnroot/apertium/incubator/apertium-sh-mk <pre> </pre> ==Turkish== SVN: https://apertium.svn.sourceforge.net/sv…')
 
Line 1: Line 1:
 
 
==Serbo-Croatian==
 
==Serbo-Croatian==
   
Line 12: Line 11:
 
SVN: https://apertium.svn.sourceforge.net/svnroot/apertium/incubator/apertium-tr-az
 
SVN: https://apertium.svn.sourceforge.net/svnroot/apertium/incubator/apertium-tr-az
   
  +
Trmorph: http://www.let.rug.nl/~coltekin/trmorph/
  +
  +
<pre>
  +
$ echo "Kovayla bira içerim, ama sen bilmezsin." | hfst-proc tr-az.automorf.hfst | cg-conv -a
  +
  +
"<Kovayla>"
  +
"Kova" n ins
  +
"Kova" n ins 3s
  +
"<bira>"
  +
"bira" n
  +
"bira" n 3s
  +
"<içerim>"
  +
"iç" v t_aor 1s
  +
"içeri" n 1s
  +
"içeri" n p1s
  +
"içeri" n p1s 3s
  +
"<,>"
  +
"," pnct
  +
"<ama>"
  +
"ama" cnjadv
  +
"ama" cnjcoo
  +
"ama" n
  +
"ama" n 3s
  +
"<sen>"
  +
"sen" prn pers
  +
"sen" prn pers 3s
  +
"<bilmezsin>"
  +
"bil" v neg t_aor 2s
  +
"<.>"
  +
"." pnct
  +
</pre>
  +
  +
  +
<pre>
  +
$ echo "Kovayla bira içerim, ama sen bilmezsin." | hfst-proc tr-az.automorf.hfst | cg-conv -a | vislcg3 --trace --grammar apertium-tr-az.tr-az.rlx
  +
  +
"<Kovayla>"
  +
"Kova" n ins
  +
; "Kova" n ins 3s REMOVE:521
  +
"<bira>"
  +
"bira" n
  +
; "bira" n 3s REMOVE:521
  +
"<içerim>"
  +
"iç" v t_aor 1s
  +
"içeri" n 1s
  +
; "içeri" n p1s 3s REMOVE:521
  +
; "içeri" n p1s REMOVE:531
  +
"<,>"
  +
"," pnct
  +
"<ama>"
  +
"ama" cnjadv
  +
"ama" cnjcoo
  +
"ama" n
  +
; "ama" n 3s REMOVE:521
  +
"<sen>"
  +
"sen" prn pers
  +
; "sen" prn pers 3s REMOVE:521
  +
"<bilmezsin>"
  +
"bil" v neg t_aor 2s
  +
"<.>"
  +
"." pnct
  +
  +
</pre>
 
==Bulgarian==
 
==Bulgarian==
   
 
SVN: https://apertium.svn.sourceforge.net/svnroot/apertium/trunk/apertium-mk-bg
 
SVN: https://apertium.svn.sourceforge.net/svnroot/apertium/trunk/apertium-mk-bg
  +
   
 
==Slovenian==
 
==Slovenian==

Revision as of 12:36, 1 August 2011

Serbo-Croatian

SVN: https://apertium.svn.sourceforge.net/svnroot/apertium/incubator/apertium-sh-mk


Turkish

SVN: https://apertium.svn.sourceforge.net/svnroot/apertium/incubator/apertium-tr-az

Trmorph: http://www.let.rug.nl/~coltekin/trmorph/

$ echo "Kovayla bira içerim, ama sen bilmezsin." | hfst-proc tr-az.automorf.hfst  | cg-conv -a

"<Kovayla>"
	"Kova" n ins 
	"Kova" n ins 3s 
"<bira>"
	"bira" n 
	"bira" n 3s 
"<içerim>"
	"iç" v t_aor 1s 
	"içeri" n 1s 
	"içeri" n p1s 
	"içeri" n p1s 3s 
"<,>"
	"," pnct 
"<ama>"
	"ama" cnjadv 
	"ama" cnjcoo 
	"ama" n 
	"ama" n 3s 
"<sen>"
	"sen" prn pers 
	"sen" prn pers 3s 
"<bilmezsin>"
	"bil" v neg t_aor 2s 
"<.>"
	"." pnct 


$ echo "Kovayla bira içerim, ama sen bilmezsin." | hfst-proc tr-az.automorf.hfst  | cg-conv -a | vislcg3 --trace --grammar apertium-tr-az.tr-az.rlx 

"<Kovayla>"
	"Kova" n ins 
;	"Kova" n ins 3s REMOVE:521 
"<bira>"
	"bira" n 
;	"bira" n 3s REMOVE:521 
"<içerim>"
	"iç" v t_aor 1s 
	"içeri" n 1s 
;	"içeri" n p1s 3s REMOVE:521 
;	"içeri" n p1s REMOVE:531 
"<,>"
	"," pnct 
"<ama>"
	"ama" cnjadv 
	"ama" cnjcoo 
	"ama" n 
;	"ama" n 3s REMOVE:521 
"<sen>"
	"sen" prn pers 
;	"sen" prn pers 3s REMOVE:521 
"<bilmezsin>"
	"bil" v neg t_aor 2s 
"<.>"
	"." pnct 

Bulgarian

SVN: https://apertium.svn.sourceforge.net/svnroot/apertium/trunk/apertium-mk-bg


Slovenian

SVN: https://apertium.svn.sourceforge.net/svnroot/apertium/incubator/apertium-sl-es

$ echo "Od tukaj se vidi vse mesto." | lt-proc sl-es.automorf.bin | cg-conv -a
Codepage UTF-8, locale en_US_POSIX
Converting Apertium to VISL...
Warning: No soft or hard delimiters defined in grammar. Hard limit of 500 cohorts may break windows in unintended places.
"<Od>"
	"Od" pr 
	"Oda" n f du gen 
	"Oda" n f pl gen 
"<tukaj>"
	"tukaj" adv 
"<se>"
	"se" prn ref mf sp loc 
	"se" prn ref mf sp ins 
	"se" prn ref mf sp gen 
	"se" prn ref mf sp acc 
"<vidi>"
	"*vidi" 
"<vse>"
	"vse" adv 
	"ves" prn ind m pl acc 
	"ves" prn ind f sg gen 
	"ves" prn ind f pl nom 
	"ves" prn ind f pl acc 
	"ves" prn ind nt sg nom 
	"ves" prn ind nt sg acc 
	"ves" det ind m pl acc 
	"ves" det ind f sg gen 
	"ves" det ind f pl nom 
	"ves" det ind f pl acc 
	"ves" det ind nt sg nom 
	"ves" det ind nt sg acc 
"<mesto>"
	"mesto" n nt sg nom 
	"mesto" n nt sg acc 
"<.>"
	"." sent