From 41fd457918dcdb9fb78fe03195dad4cf41017c00 Mon Sep 17 00:00:00 2001 From: Jack Rueter Date: Sun, 27 Oct 2024 10:54:52 +0200 Subject: [PATCH] Add Err/Orth-glide-final MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Толстойнь --- src/fst/morphology/phonology.twolc | 5 +++++ src/fst/morphology/root.lexc | 2 ++ 2 files changed, 7 insertions(+) diff --git a/src/fst/morphology/phonology.twolc b/src/fst/morphology/phonology.twolc index 478e4e42..ccbe94f4 100644 --- a/src/fst/morphology/phonology.twolc +++ b/src/fst/morphology/phonology.twolc @@ -140,6 +140,7 @@ Alphabet !!≈!!The base @CODE@ %^Devoice:0 !!= @CODE@ for devoicing изь:исть %^PXSG1:0 !!= @CODE@ кядне, ярмаконе не vs %{ЕОØ%}не %^CnsSt:0 !!= @CODE@ улемс:уль%^CnsSt%>%{АЕØ%} +%^Glide:0 !!= @CODE@ Толстой:Толстой%^Glide%>нь TLoss:0 SLoss:0 @@ -1266,6 +1267,10 @@ KLoss:0 /<= [[ :* Letters ] - [ :* :к ] ] %> _ ; !! **@RULENAME@** SLoss:0 /<= [[ :* Letters ] - [ :* :с ] ] %> _ ; +"Disallow Glide after non-glides" +!! **@RULENAME@** +%^Glide:0 /<= [[ :* Letters ] - [ :* й ] ] _ ; + !"Disallow VLoss after non-U2I2" !!! __@RULENAME@__ !VLoss:0 /<= [[ :* [ Letters | А1: | %{АЯ%}: | %{ИЫЙ%}: | К1: | %{ЬØ%}: | %{гк%}: | %{вгк%}: | К3: ] ] - [ :* [ У2: | И2: ] ] ] %> _ ; diff --git a/src/fst/morphology/root.lexc b/src/fst/morphology/root.lexc index d5370c05..2fbfa068 100644 --- a/src/fst/morphology/root.lexc +++ b/src/fst/morphology/root.lexc @@ -94,6 +94,7 @@ Multichar_Symbols !!≈!!@CODE@ / Analysis symbols +Err/Orth-soft-loss !!≈ * @CODE@ $тиендсазь €тиендьсазь +Err/Orth-soft-kept !!≈ * @CODE@ шяярьня +Err/Orth-colloq !!≈ * @CODE@ Евсеич + +Err/Orth-glide-final !!≈ * @CODE@ Толстойнь, +Err/MissingSpace +Err/Orth-old1 !!≈ * @CODE@ * old1 like озимь, морковь 1930–1940 +Err/Orth-pre1978 !!≈ * @CODE@ * orthography preceding 1978 @@ -689,6 +690,7 @@ Multichar_Symbols !!≈!!@CODE@ / Analysis symbols %^Devoice !!= @CODE@ for devoicing изь:исть %^PXSG1 !!= @CODE@ кядне, ярмаконе не vs %{ЕОØ%}не %^CnsSt !!= @CODE@ улемс:уль%^CnsSt%>%{АЕØ%} +%^Glide !!= @CODE@ Толстой:Толстой%^Glide%>нь {front} {back} %>