-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixed "one", "five"; added >100 & >1000 numbers; created transliterat…
…ions; updated Makefile
- Loading branch information
Showing
3 changed files
with
76 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,25 @@ | ||
.DEFAULT_GOAL := btlx.num.analyzer.hfst | ||
|
||
# generate analyzer and generator | ||
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 | ||
|
||
# generate transliteraters | ||
cy2la.transliterater.hfst: la2cy.transliterater.hfst | ||
hfst-invert la2cy.transliterater.hfst -o cy2la.transliterater.hfst | ||
la2cy.transliterater.hfst: correspondence.hfst | ||
hfst-repeat -f 1 correspondence.hfst -o la2cy.transliterater.hfst | ||
correspondence.hfst: correspondence | ||
hfst-strings2fst -j correspondence -o correspondence.hfst | ||
|
||
# generate analyzer and generator for transcription | ||
btlx.num.analyzer.tr.hfst: btlx.num.generator.tr.hfst | ||
hfst-invert $< -o $@ | ||
btlx.num.generator.tr.hfst: btlx.num.generator.hfst cy2la.transliterater.hfst | ||
hfst-compose $^ -o $@ | ||
|
||
# remove all hfst files | ||
clean: | ||
rm *.hfst |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
a:а | ||
b:б | ||
w:в | ||
g:г | ||
ʁ:гъ | ||
h:гь | ||
ʕ:гI | ||
d:д | ||
e:е | ||
ɵ:ё | ||
ʒ:ж | ||
z:З | ||
i:и | ||
j:й | ||
k:к | ||
q’:къ | ||
ƛ':кь | ||
k':кӀ | ||
l:л | ||
ɬ:лъ | ||
ƛ:лӀ | ||
m:м | ||
n:н | ||
o:о | ||
p:п | ||
r:р | ||
s:с | ||
t:т | ||
t':тӀ | ||
u:у | ||
f:ф | ||
χ:х | ||
qχ:хъ | ||
х:хь | ||
ћ:хӀ | ||
c:ц | ||
c':цӀ | ||
č:ч | ||
č':чӀ | ||
š:ш | ||
šː:щ | ||
ʔ:ъ | ||
ɨ:ы | ||
ʼ:ь | ||
ɛ:э | ||
ju:ю | ||
ja:я |