Skip to content

Commit

Permalink
Update remove-diaereses-enhancement.regex
Browse files Browse the repository at this point in the history
still not capturing the problem with enhancement.regex
  • Loading branch information
rueter committed May 3, 2024
1 parent 7481e32 commit 74da075
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/fst/filters/remove-diaereses-enhancement.regex
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
# non-alveolar consonant, i.e., [^дзлнрстц]
# Second, ӓ becomes э if word-initial or preceded by a hard alveolar

[ [ Ь | ь ] -> 0 || _ [ ӓ | Ӓ ] ,, ӓ -> е || [ ь | Ь ] _ ]
.o.
[ ӓ -> е || [ в | В | б | Б | г | Г | ж | Ж | к | К | м | М | п | П | ф | Ф | х | Х | ч | Ч | ш | Ш | щ | Щ ] _ ]
#[ [ Ь | ь ] -> 0 || _ [ ӓ | Ӓ ] ,, ӓ -> е || [ ь | Ь ] _ ]
#.o.
[ ӓ -> е || [ в | В | б | Б | г | Г | ж | Ж | к | К | м | М | п | П | ф | Ф | х | Х | ч | Ч | ш | Ш | щ | Щ | ь | Ь ] _ ,, [ Ь | ь ] -> 0 || _ [ ӓ | Ӓ ] ]
.o.
[ ӓ -> э || [ д | Д | з | З | л | Л | н | Н | р | Р | с | С | т | Т | ц | Ц | .#. ( ? ) | %- ( ? ) ] _ ] ;
#.o.
Expand Down

0 comments on commit 74da075

Please sign in to comment.