Skip to content

Commit

Permalink
speller
Browse files Browse the repository at this point in the history
  • Loading branch information
Juutitta committed Nov 25, 2024
1 parent 772a90c commit 652639d
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
12 changes: 12 additions & 0 deletions tools/spellcheckers/Makefile.mod-desktop.am
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,15 @@ TAGWEIGHTS=tags.reweight
CORPUS_SIZE=

### BEGIN: Local build rules: *.hfst: *.tmp.hfst ###

generator-desktopspeller-gt-norm.hfst: \
generator-desktopspeller-gt-norm.tmp.hfst \
filters/rm-ill-morph-comb.hfst
$(AM_V_HXFST)$(PRINTF) "\
set encode-weights ON \n\
read regex \
@\"filters/rm-ill-morph-comb.hfst\" \
.o. @\"$<\" \
; \n\
save stack $@\n\
quit\n" | $(HFST_XFST) -p $(MORE_VERBOSITY)
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
GIELLA_LOCAL_DESKTOPSPELLER_FILTER_SRCS=

# Source files copied from src/filters/ OR from $(GIELLA_CORE)/fst-filters/:
GIELLA_LOCAL_COPY_DESKTOP_FILTER_SRCS=
GIELLA_LOCAL_COPY_DESKTOP_FILTER_SRCS=rm-ill-morph-comb.regex

# Only build these things if speller fst's are enabled:
if WANT_SPELLERS
Expand Down

0 comments on commit 652639d

Please sign in to comment.