Skip to content

Commit

Permalink
Move filter to the right side of the fst - fixes MT analyser issues
Browse files Browse the repository at this point in the history
  • Loading branch information
snomos committed Aug 29, 2023
1 parent ac452c8 commit 1e61208
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions tools/mt/Makefile.modifications.am
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ analyser-mt-gt-desc.hfst: analyser-mt-gt-desc.tmp.hfst \
$(top_builddir)/src/filters/remove-Use_minus_PMatch-tags.hfst \
$(top_builddir)/src/filters/remove-Use_PMatch-strings.hfst \
$(top_builddir)/src/filters/remove-Use_GC-strings.hfst \
$(top_builddir)/src/filters/remove-Use_minusGC-tags.hfst \
$(top_builddir)/src/filters/remove-hard-sign-in-first-syllable.hfst
$(top_builddir)/src/filters/remove-Use_minusGC-tags.hfst \
$(top_builddir)/src/filters/remove-hard-sign-in-first-syllable.hfst
$(AM_V_RGX2FST)$(PRINTF) "\
@\"$(top_builddir)/src/filters/remove-derivation-position-tags.hfst\" \
.o. @\"$(top_builddir)/src/filters/remove-norm-comp-tags.hfst\" \
Expand All @@ -36,9 +36,9 @@ analyser-mt-gt-desc.hfst: analyser-mt-gt-desc.tmp.hfst \
.o. @\"$(top_builddir)/src/filters/remove-Use_PMatch-strings.hfst\" \
.o. @\"$(top_builddir)/src/filters/remove-Use_GC-strings.hfst\" \
.o. @\"$(top_builddir)/src/filters/remove-Use_minusGC-tags.hfst\" \
.o. @\"$<\" \
.o. @\"$(top_builddir)/src/filters/remove-hard-sign-in-first-syllable.hfst\" \
.o. @\"$<\" \
;" \
;" \
| $(HFST_REGEXP2FST) $(HFST_FLAGS) $(HFST_FORMAT) \
-S --xerox-composition=ON \
| $(HFST_INVERT) $(HFSTFLAGS) \
Expand All @@ -51,18 +51,18 @@ generator-mt-gt-norm.hfst: generator-mt-gt-norm.tmp.hfst \
$(top_builddir)/src/filters/remove-Use_minus_PMatch-tags.hfst \
$(top_builddir)/src/filters/remove-Use_PMatch-strings.hfst \
$(top_builddir)/src/filters/remove-Use_GC-strings.hfst \
$(top_builddir)/src/filters/remove-Use_minusGC-tags.hfst \
$(top_builddir)/src/filters/remove-hard-sign-in-first-syllable.hfst
$(top_builddir)/src/filters/remove-Use_minusGC-tags.hfst \
$(top_builddir)/src/filters/remove-hard-sign-in-first-syllable.hfst
$(AM_V_RGX2FST)$(PRINTF) "\
@\"$(top_builddir)/src/filters/remove-derivation-position-tags.hfst\" \
.o. @\"$(top_builddir)/src/filters/remove-norm-comp-tags.hfst\" \
.o. @\"$(top_builddir)/src/filters/remove-norm-comp-tags.hfst\" \
.o. @\"$(top_builddir)/src/filters/remove-Use_minus_PMatch-tags.hfst\" \
.o. @\"$(top_builddir)/src/filters/remove-Use_PMatch-strings.hfst\" \
.o. @\"$(top_builddir)/src/filters/remove-Use_GC-strings.hfst\" \
.o. @\"$(top_builddir)/src/filters/remove-Use_minusGC-tags.hfst\" \
.o. @\"$(top_builddir)/src/filters/remove-hard-sign-in-first-syllable.hfst\" \
.o. @\"$<\" \
;" \
.o. @\"$<\" \
.o. @\"$(top_builddir)/src/filters/remove-hard-sign-in-first-syllable.hfst\" \
;" \
| $(HFST_REGEXP2FST) $(HFST_FLAGS) $(HFST_FORMAT) \
-S --xerox-composition=ON \
> $@
Expand Down

0 comments on commit 1e61208

Please sign in to comment.