Difference between revisions of "Turkish"

From Apertium
Jump to navigation Jump to search
Line 10: Line 10:
   
 
==Resources==
 
==Resources==
* [http://www.let.rug.nl/coltekin/trmorph/ Turkish morphological analyser] in [[SFST]] (also works with [[HFST]]
+
* [http://www.let.rug.nl/coltekin/trmorph/ Turkish morphological analyser] in [[SFST]] (also works with [[HFST]], see <code>.diff</code> below)
   
  +
;.diff for HFST
   
 
<pre>
 
<pre>
Line 52: Line 53:
   
 
</pre>
 
</pre>
  +
 
==Language pairs==
 
==Language pairs==
 
* [[Turkish to Azerbaijani]]
 
* [[Turkish to Azerbaijani]]

Revision as of 19:35, 7 June 2010

Türkçe
(Turkish)
Family: Turkic
ISO Codes: tr / tur / tur
Incubator: {{{incubator}}}
Language pairs: Turkish to Azerbaijani

Resources

.diff for HFST

--- trmorph-0.2/Makefile	2010-06-06 20:23:26.000000000 +0000
+++ trmorph-0.2~/Makefile	2010-06-07 19:02:32.055402715 +0000
@@ -13,7 +13,7 @@
 .PHONY: all
 
 %.a: %.fst
-	fst-compiler-utf8 $< $@
+	hfst-calculate -w -v -i $< -o $@
 
 %.ca: %.a
 	fst-compact $< $@

--- trmorph-0.2/phon/Makefile	2010-06-06 20:23:26.000000000 +0000
+++ trmorph-0.2~/phon/Makefile	2010-06-07 19:02:58.410403151 +0000
@@ -12,7 +12,7 @@
 .PHONY: all
 
 %.a: %.fst
-	fst-compiler-utf8 $< $@
+	hfst-calculate -w -v -i $< -o $@
 
 %.ca: %.a
 	fst-compact $< $@


--- trmorph-0.2/deriv.fst	2010-06-06 20:23:26.000000000 +0000
+++ trmorph-0.2~/deriv.fst	2010-06-07 19:24:15.087406503 +0000
@@ -47,6 +47,7 @@
 %%% Reciprocal
 
 $reciprocal$ = <recp>:{<bI>ş} <MB>
+ALPHABET = [#Lsym#]
 
 $VSTEM-rr$ =  $VSTEM$ || \
               [#Lsym#]* <rfl>:<> <rcp>:<> [#caus_types##aor_types#]* <Verb><RB> 

Language pairs