Skip to content

Commit

Permalink
New final-i.yaml file
Browse files Browse the repository at this point in the history
  • Loading branch information
mansayk committed Jan 30, 2019
1 parent cf57877 commit c1f843a
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 1 deletion.
2 changes: 1 addition & 1 deletion apertium-tat.tat.twol
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ Rules
! [ :BackVow :Cns* й: ]/[ %>: | :0 ] _ ;
[ й: ]/[ %>: | :0 ] _ ;
[ :Cns ь: %>: :Cns* ]/[ :0 - [ %>: | %{ъ%}: | %{☭%}: ] ] _ ;
[ [ :и | :UnambigFrontVow | :ь ] :я :Cns* :Cns ]/[ %>: | % | [ :0 - %{ъ%}:0 ] ] _ ;
[ [ :и | :UnambigFrontVow | :ь ] :я :Cns* :Cns ]/[ %>: | % | [ :0 - %{ъ%}:0 ] ] _ ;
[ %{ь%}:0 :Cns* ]/[ [ :0 - %{ь%}:0 ] ] _ ;
[ [ :Vow %{j%}: ] | й: ]/[ %>: | [ :0 - %{j%}: ] ] _ ; ! ай>{s}{I}:ае
! ди{j}>{I}п:дип
Expand Down
Binary file modified tests-tatcorpus/words.tagged.bz2
Binary file not shown.
17 changes: 17 additions & 0 deletions tests/morphophonology/final-i.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
Config:
hfst:
App: hfst-lookup
Gen: tat.autogen.hfst
Morph: tat.automorf.hfst

Tests:

"[twol] й+е > е":
музей<n><px3sp><nom> : музее

"[twol] и+е > ие":
поши<n><px3sp><nom> : пошие

"[twol] е+е > се/сы":
ателье<n><px3sp><nom> : ательесы
декольте<n><px3sp><nom> : декольтесы

0 comments on commit c1f843a

Please sign in to comment.