Skip to content

Commit

Permalink
cardinal numbers transducer test version
Browse files Browse the repository at this point in the history
  • Loading branch information
iphilatov committed Jan 26, 2022
0 parents commit 52bbcc5
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
*.att
*.hfst
*.hfstol
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
btlx.num.analyzer.hfst: btlx.num.generator.hfst
hfst-invert btlx.num.generator.hfst -o btlx.num.analyzer.hfst

btlx.num.generator.hfst: btlx.num.lexd
lexd btlx.num.lexd | hfst-txt2fst -o btlx.num.generator.hfst
36 changes: 36 additions & 0 deletions btlx.num.lexd
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
PATTERNS
(TeenRoot | (NumRoot TyInfl)) TeenInfl < One
TeenRoot (TeenInfl NumRoot)? CardInfl
NumRoot (TyInfl > (TeenInfl NumRoot1))? CardInfl
GrandRoot CardInfl #А ЧТО ДЕЛАТЬ С 200-900 и 2000-10000???????????????????????????????????????

LEXICON One
<one>:цеб # один УТОЧНИИИИИИИИИИИИИИИИИИИИИИИИИИИИИИИИИИИИИИИИИИИИИТЬ!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

LEXICON NumRoot
<two>:кӀе # два
<three>:гьабу # три
<four>:бугъу # четыре
<five>:ищту # пять ПРОВЕРИТЬ И УТОЧНИИИИИИИИИИИИИИИИИИИИИИИИИИИИИИИИИИИИИИИИИИИИИТЬ!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
<six>:интлӀи # шесть УТОЧНИИИИИИИИИИИИИИИИИИИИИИИИИИИИИИИИИИИИИИИИИИИИИТЬ!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
<seven>:гьакьу # семь
<eight>:бикьи # восемь
<nine>:гьачӀа # девять

ALIAS NumRoot NumRoot1

LEXICON TeenRoot
<ten>:гьацӀа # десять

LEXICON TeenInfl
<teen>:лъи # 11-19

LEXICON TyInfl
<ty>:цӀали # 20-90 десятки

LEXICON GrandRoot
<hundred>:бешуну # сто
<thousand>:азару # тысяча

LEXICON CardInfl
<card>:да

0 comments on commit 52bbcc5

Please sign in to comment.