Skip to content

Commit

Permalink
s:src/filters:src/fst/filters:
Browse files Browse the repository at this point in the history
  • Loading branch information
flammie committed Jan 31, 2024
1 parent 7446607 commit 708126c
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 34 deletions.
60 changes: 30 additions & 30 deletions tools/mt/Makefile.modifications.am
Original file line number Diff line number Diff line change
Expand Up @@ -20,24 +20,24 @@ 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
$(top_builddir)/src/fst/filters/remove-norm-comp-tags.hfst \
$(top_builddir)/src/fst/filters/remove-derivation-position-tags.hfst \
$(top_builddir)/src/fst/filters/rename-POS_before_Der-tags.hfst \
$(top_builddir)/src/fst/filters/remove-Use_minus_PMatch-tags.hfst \
$(top_builddir)/src/fst/filters/remove-Use_PMatch-strings.hfst \
$(top_builddir)/src/fst/filters/remove-Use_GC-strings.hfst \
$(top_builddir)/src/fst/filters/remove-Use_minusGC-tags.hfst \
$(top_builddir)/src/fst/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\" \
@\"$(top_builddir)/src/fst/filters/remove-derivation-position-tags.hfst\" \
.o. @\"$(top_builddir)/src/fst/filters/remove-norm-comp-tags.hfst\" \
.o. @\"$(top_builddir)/src/fst/filters/rename-POS_before_Der-tags.hfst\" \
.o. @\"$(top_builddir)/src/fst/filters/remove-Use_minus_PMatch-tags.hfst\" \
.o. @\"$(top_builddir)/src/fst/filters/remove-Use_PMatch-strings.hfst\" \
.o. @\"$(top_builddir)/src/fst/filters/remove-Use_GC-strings.hfst\" \
.o. @\"$(top_builddir)/src/fst/filters/remove-Use_minusGC-tags.hfst\" \
.o. @\"$<\" \
.o. @\"$(top_builddir)/src/filters/remove-hard-sign-in-first-syllable.hfst\" \
.o. @\"$(top_builddir)/src/fst/filters/remove-hard-sign-in-first-syllable.hfst\" \
;" \
| $(HFST_REGEXP2FST) $(HFST_FLAGS) $(HFST_FORMAT) \
-S --xerox-composition=ON \
Expand All @@ -46,22 +46,22 @@ analyser-mt-gt-desc.hfst: analyser-mt-gt-desc.tmp.hfst \

# 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
$(top_builddir)/src/fst/filters/remove-norm-comp-tags.hfst \
$(top_builddir)/src/fst/filters/remove-derivation-position-tags.hfst \
$(top_builddir)/src/fst/filters/remove-Use_minus_PMatch-tags.hfst \
$(top_builddir)/src/fst/filters/remove-Use_PMatch-strings.hfst \
$(top_builddir)/src/fst/filters/remove-Use_GC-strings.hfst \
$(top_builddir)/src/fst/filters/remove-Use_minusGC-tags.hfst \
$(top_builddir)/src/fst/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-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\" \
@\"$(top_builddir)/src/fst/filters/remove-derivation-position-tags.hfst\" \
.o. @\"$(top_builddir)/src/fst/filters/remove-norm-comp-tags.hfst\" \
.o. @\"$(top_builddir)/src/fst/filters/remove-Use_minus_PMatch-tags.hfst\" \
.o. @\"$(top_builddir)/src/fst/filters/remove-Use_PMatch-strings.hfst\" \
.o. @\"$(top_builddir)/src/fst/filters/remove-Use_GC-strings.hfst\" \
.o. @\"$(top_builddir)/src/fst/filters/remove-Use_minusGC-tags.hfst\" \
.o. @\"$<\" \
.o. @\"$(top_builddir)/src/filters/remove-hard-sign-in-first-syllable.hfst\" \
.o. @\"$(top_builddir)/src/fst/filters/remove-hard-sign-in-first-syllable.hfst\" \
;" \
| $(HFST_REGEXP2FST) $(HFST_FLAGS) $(HFST_FORMAT) \
-S --xerox-composition=ON \
Expand Down
8 changes: 4 additions & 4 deletions tools/spellcheckers/Makefile.mod-spellcheckers.am
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,20 @@
# build rules

generator-speller-gt-norm.%: analyser-speller-gt-norm.tmp.% \
$(top_builddir)/src/filters/remove-hard-sign-in-first-syllable.%
$(top_builddir)/src/fst/filters/remove-hard-sign-in-first-syllable.%
$(AM_V_XFST_TOOL)$(PRINTF) "read regex \
@\"$<\" \
.o. @\"$(top_builddir)/src/filters/remove-hard-sign-in-first-syllable.$*\" \
.o. @\"$(top_builddir)/src/fst/filters/remove-hard-sign-in-first-syllable.$*\" \
;\n\
$(INVERT_XFST)$(INVERT_FOMA)\
save stack $@\n\
quit\n" | $(XFST_TOOL)

analyser-speller-gt-norm.%: analyser-speller-gt-norm.tmp.% \
$(top_builddir)/src/filters/remove-hard-sign-in-first-syllable.%
$(top_builddir)/src/fst/filters/remove-hard-sign-in-first-syllable.%
$(AM_V_XFST_TOOL)$(PRINTF) "read regex \
@\"$<\" \
.o. @\"$(top_builddir)/src/filters/remove-hard-sign-in-first-syllable.$*\" \
.o. @\"$(top_builddir)/src/fst/filters/remove-hard-sign-in-first-syllable.$*\" \
;\n\
$(INVERT_HFST)\
save stack $@\n\
Expand Down

0 comments on commit 708126c

Please sign in to comment.