From ed0fe7a46e018151f69633a50ab7a698e874244d Mon Sep 17 00:00:00 2001 From: Sjur N Moshagen Date: Wed, 13 Nov 2024 11:04:49 +0200 Subject: [PATCH] Apply the longvowel-cleanup file to the last phase of the raw fst compilation --- src/fst/Makefile.am | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/fst/Makefile.am b/src/fst/Makefile.am index 9291b83..98db776 100644 --- a/src/fst/Makefile.am +++ b/src/fst/Makefile.am @@ -79,6 +79,15 @@ endif # CAN_FOMA ################################################# #### Add language-specific build rules here: #### +.generated/generator-raw-gt-desc.%: .generated/generator-raw-gt-desc.tmp.% \ + morphology/longvowel-cleanup.compose.% + $(AM_V_XFST_TOOL)$(PRINTF) "read regex \ + @\"$<\" \ + .o. @\"morphology/longvowel-cleanup.compose.$*\" \ + ;\n\ + save stack $@\n\ + quit\n" | $(XFST_TOOL) + ################################################################## #### END: Add local processing instructions ABOVE this line ###### ##################################################################