Skip to content

Commit

Permalink
urj-cyrl-kpv-conversion like smi in sms
Browse files Browse the repository at this point in the history
  • Loading branch information
flammie committed Feb 12, 2024
1 parent 3513527 commit 09a4399
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
15 changes: 12 additions & 3 deletions src/fst/morphology/Makefile.modifications-local.am
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,19 @@
# Add local build rules and shared here...

if HAVE_SHARED_URJ_CYRL
generated_files/urj-Cyrl-$(GLANG)-propernouns.lexc: \
$(gt_SHARED_urj_Cyrl)/src/fst/stems/urj-Cyrl-propernouns.lexc
generated_files/urj-Cyrl-propernouns.lexc: \
$(gt_SHARED_urj_Cyrl)/src/fst/stems/urj-Cyrl-propernouns.lexc
$(AM_V_at)$(MKDIR_P) generated_files
$(AM_V_CP)cp -f $< $@
$(AM_V_GEN)cp -f $< $@

generated_files/urj-Cyrl-$(GTLANG)-propernouns.lexc: \
generated_files/urj-Cyrl-propernouns.lexc \
$(top_srcdir)/src/scripts/urj-Cyrl-$(GTLANG)-conversion.pl
$(AM_V_GEN)rm -f $@ && \
echo "" >> $@ && \
echo "! <--- Dump from URJ-CYRL -->" >> $@ && \
echo "" >> $@ && \
$(top_srcdir)/src/scripts/urj-Cyrl-$(GTLANG)-conversion.pl $< >> $@
else
generated_files/urj-Cyrl-$(GLANG)-%.lexc:
$(AM_V_at)$(MKDIR_P) generated_files
Expand Down
2 changes: 1 addition & 1 deletion src/scripts/urj-Cyrl-kpv-conversion.pl
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ BEGIN
# # j->i || Vow i .* : .* Vow _ ; Heaika:Heajka -> Heaika:Heaika. But Majken
# s/([ÁAEIOUaáeiou])i(.*):(.*)([ÁAEIOUaáeiou])j/$1i$2:$3$4i/g ;
#
# my $line = $_;
my $line = $_;
#
# # Special treatment of æ in SMJ:
# if ($line =~ /æ/) {
Expand Down

0 comments on commit 09a4399

Please sign in to comment.