Skip to content

Commit

Permalink
Update Makefile.modifications.am
Browse files Browse the repository at this point in the history
A new attempt at adding
remove-hard-sign-in-first-syllable.hfst filter for mt.
Still does not work
  • Loading branch information
rueter committed Aug 23, 2023
1 parent fb1e546 commit 49fecb6
Showing 1 changed file with 45 additions and 2 deletions.
47 changes: 45 additions & 2 deletions tools/mt/Makefile.modifications.am
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,53 @@ CLEAN_FILES+=

##################################################################
#### Build rules - add targets and their build rules below:
# We want to rename the POS tags in front of derivations:
analyser-mt-gt-desc.hfst: analyser-mt-gt-desc.tmp.hfst \
$(top_builddir)/src/filters/remove-norm-comp-tags.hfst \
$(top_builddir)/src/filters/remove-derivation-position-tags.hfst \
$(top_builddir)/src/filters/rename-POS_before_Der-tags.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
$(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/rename-POS_before_Der-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. @\"$<\" \
;" \
| $(HFST_REGEXP2FST) $(HFST_FLAGS) $(HFST_FORMAT) \
-S --xerox-composition=ON \
| $(HFST_INVERT) $(HFSTFLAGS) \
> $@

# And also for the generator:
generator-mt-gt-norm.hfst: generator-mt-gt-norm.tmp.hfst \
$(top_builddir)/src/filters/remove-norm-comp-tags.hfst \
$(top_builddir)/src/filters/remove-derivation-position-tags.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
$(AM_V_RGX2FST)$(PRINTF) "\
@\"$(top_builddir)/src/filters/remove-hard-sign-in-first-syllable.hfst\" \
@\"$(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-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. @\"$<\" \
;" \
| $(HFST_REGEXP2FST) $(HFST_FLAGS) $(HFST_FORMAT) \
-S --xerox-composition=ON \
-o $@
> $@


0 comments on commit 49fecb6

Please sign in to comment.