@@ -68,52 +68,6 @@ FINAL_STRING_EDITS=txt
68
68
WORD_REPLACEMENTS=no
69
69
70
70
### BEGIN: Local build rules for speller transducer: *.hfst ###
71
- # This is a near-copy of the default ruleset
72
- # Reasons for a language-specific routine for building a transducer:
73
- # 1. Tokens ending with a dot (e.g. abbreviations) need special treament by a tokeniser
74
- # They cannot be a part of the analyser that the tokeniser uses
75
- # Therefore, dot-ending stuff must be added separately to the default descriptive analyser
76
- # 2. Certain paths have to be deleted from the descriptive analyser
77
- # 3. Derived proper strings have been downcased already when building the raw analyser;
78
- # no need to do this again
79
-
80
- generator-speller-gt-norm.hfst: \
81
- $(top_builddir)/src/analyser-raw-gt-desc.hfst \
82
- $(top_builddir)/src/fst/abbrevdot.tmp.hfst \
83
- $(top_builddir)/src/filters/remove-CLB-strings.hfst \
84
- $(top_builddir)/src/filters/remove-error-strings.hfst \
85
- $(top_builddir)/src/filters/remove-MinusSpell-strings.hfst \
86
- $(top_builddir)/src/filters/remove-PUNCT-strings.hfst \
87
- $(top_builddir)/src/filters/remove-use_marg-strings.hfst \
88
- $(top_builddir)/src/filters/remove-orig_lang-tags.hfst \
89
- $(top_builddir)/src/filters/remove-usage_except_speller-tags.hfst \
90
- $(top_builddir)/src/filters/remove-Use_GC-strings.hfst \
91
- $(top_builddir)/src/filters/remove-Use_minusGC-tags.hfst \
92
- $(top_builddir)/src/filters/remove-Use_minus_PMatch-tags.hfst \
93
- $(top_builddir)/src/filters/remove-Use_PMatch-strings.hfst \
94
- $(top_builddir)/src/filters/remove-mwe-tags.hfst \
95
- $(top_builddir)/src/filters/remove-nospell-words.est.hfst \
96
- $(top_builddir)/src/filters/remove-NotNorm-wordforms.est.hfst
97
- $(AM_V_XFST_TOOL)$(PRINTF) "set flag-is-epsilon ON\n\
98
- read regex \
99
- @\"$(top_builddir)/src/filters/remove-usage_except_speller-tags.hfst\" \
100
- .o. @\"$(top_builddir)/src/filters/remove-orig_lang-tags.hfst\" \
101
- .o. @\"$(top_builddir)/src/filters/remove-CLB-strings.hfst\" \
102
- .o. @\"$(top_builddir)/src/filters/remove-error-strings.hfst\" \
103
- .o. @\"$(top_builddir)/src/filters/remove-MinusSpell-strings.hfst\" \
104
- .o. @\"$(top_builddir)/src/filters/remove-PUNCT-strings.hfst\" \
105
- .o. @\"$(top_builddir)/src/filters/remove-use_marg-strings.hfst\" \
106
- .o. @\"$(top_builddir)/src/filters/remove-Use_minus_PMatch-tags.hfst\" \
107
- .o. @\"$(top_builddir)/src/filters/remove-Use_minusGC-tags.hfst\" \
108
- .o. @\"$(top_builddir)/src/filters/remove-Use_GC-strings.hfst\" \
109
- .o. @\"$(top_builddir)/src/filters/remove-Use_PMatch-strings.hfst\" \
110
- .o. @\"$(top_builddir)/src/filters/remove-mwe-tags.hfst\" \
111
- .o. @\"$(top_builddir)/src/filters/remove-nospell-words.est.hfst\" \
112
- .o. @\"$(top_builddir)/src/filters/remove-NotNorm-wordforms.est.hfst\" \
113
- .o. [@\"$<\" | @\"$(top_builddir)/src/fst/abbrevdot.tmp.hfst\"] \
114
- ;\n\
115
- save stack $@\n\
116
- quit\n" | $(HFST_XFST) -p $(MORE_VERBOSITY) $(HFST_FORMAT)
117
71
118
72
#### END: Local build rules for speller transducer: *.hfst ####
119
73
0 commit comments