From 8b6d62fce5ca28a8fe30f6e1a3964c7b9aaf0295 Mon Sep 17 00:00:00 2001 From: Flammie A Pirinen Date: Wed, 27 Mar 2024 15:26:55 +0100 Subject: [PATCH] lost bit --- src/fst/Makefile.am | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/fst/Makefile.am b/src/fst/Makefile.am index 3f1f9fc7..9af9134f 100644 --- a/src/fst/Makefile.am +++ b/src/fst/Makefile.am @@ -79,6 +79,17 @@ endif # CAN_FOMA ################################################# #### Add language-specific build rules here: #### + + +# Hfst - add weights to compounds if using tropical-semiring fst format: +if WITH_OFST_TROPICAL +.generated/generator-raw-gt-desc.hfst: .generated/generator-raw-gt-desc.tmp.hfst + $(AM_V_REWEIGHT)$(HFST_REWEIGHT) $(MORE_VERBOSITY) $(HFST_FLAGS) \ + -S '+Cmp' -a 10 --arcs-only -i $< \ + > $@ +endif + + ################################################################## #### END: Add local processing instructions ABOVE this line ###### ##################################################################