Skip to content

Commit

Permalink
fjernet regex fil fra stavekontrollen
Browse files Browse the repository at this point in the history
  • Loading branch information
Juutitta committed Nov 29, 2024
1 parent 2805d8d commit 01025bd
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 14 deletions.
2 changes: 1 addition & 1 deletion src/fst/filters/rm-ill-morph-comb.regex
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
!Remove long distance illegal suffix combinations, when flag diacritics can't do the job

!20241129 abandoned due to explosion

!keep an alphabetical order based on initial letter of stem, first suffix OR tag
!top:stem first
Expand Down
12 changes: 0 additions & 12 deletions tools/spellcheckers/Makefile.mod-desktop.am
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,3 @@ 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=rm-ill-morph-comb.regex
GIELLA_LOCAL_COPY_DESKTOP_FILTER_SRCS=

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

0 comments on commit 01025bd

Please sign in to comment.