Skip to content

Commit

Permalink
Edit conversion script for work with
Browse files Browse the repository at this point in the history
urj-Cyrl proper nouns
  • Loading branch information
rueter committed Sep 2, 2024
1 parent 4670c70 commit 1070ecc
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions src/fst/scripts/urj-mrj-conversion.pl
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,19 @@ BEGIN
while(<>) {
# Continuation lexicon substitutions:
# s/ C-FI-NEN/nen LONDON/g ;
s/ PROP-PLC_KEL1/ N_01/g ;
s/ PROP-PLC_VELE/ N_01/g ;
s/ PROP_KAL_PLC/ N_01/g ;
s/ PROP_KUDO_PLC/ N_01/g ;
s/ PROP_OSH_PLC/ N_01/g ;
s/ PROP_KAL_FEM/ N_01/g ;
s/ PROP-PLC_KEL1/ PROP_/g ;
s/ PROP-PLC_VELE/ PROP_/g ;
s/ PROP_KAL_PLC/ PROP_/g ;
s/ PROP_KUDO_PLC/ PROP_/g ;
s/ PROP_OSH_PLC/ PROP_/g ;
s/ PROP_KAL_FEM/ PROP_/g ;
s/ PROP_VELE_FEM/ PROP_KUDO_FEM/g ;
s/ PROP_VELE_MAL/ N_KUDO_MAL/g ;
s/ PROP_KAL / N_01 /g ;
s/ PROP_VELE / N_01 /g ;
s/ PROP_KUDO / N_01 /g ;
s/ PROP_OSH / N_01 /g ;
s/ PROP_KENKSH / N_01 /g ;
s/ PROP_KAL / PROP_ /g ;
s/ PROP_VELE / PROP_ /g ;
s/ PROP_KUDO / PROP_ /g ;
s/ PROP_OSH / PROP_ /g ;
s/ PROP_KENKSH / PROP_ /g ;

# names with in Russian ия: Абхазия
s/^([^+:]*и)я(\+N\+Prop\+Sem\/Plc:)\1я\ PROP_RUS_JA/$1$2$1\ N_AEZAE/g ;
Expand Down

0 comments on commit 1070ecc

Please sign in to comment.