Skip to content

Commit

Permalink
[Template merge] Clean up speller config
Browse files Browse the repository at this point in the history
  • Loading branch information
snomos committed Dec 15, 2022
1 parent f076894 commit e7b655e
Showing 1 changed file with 4 additions and 17 deletions.
21 changes: 4 additions & 17 deletions m4/giella-macros.m4
Original file line number Diff line number Diff line change
Expand Up @@ -685,16 +685,6 @@ AS_IF([test "x$enable_spellers" = xno -o "x$gt_prog_hfst" = xno], [enable_mobile
AC_MSG_ERROR([xz is missing - required for mobile zhfst spellers])])])
AM_CONDITIONAL([WANT_HFST_MOBILE_SPELLER], [test "x$enable_mobile_hfstspeller" != xno])
# Enable Vfst-based spellers - default is no
AC_ARG_ENABLE([vfstspeller],
[AS_HELP_STRING([--enable-vfstspeller],
[build vfst speller (dependent on --enable-hfst-mobile-speller) @<:@default=no@:>@])],
[enable_vfstspeller=$enableval],
[enable_vfstspeller=no])
AS_IF([test "x$enable_vfstspeller" = "xyes" -a "x$enable_mobile_hfstspeller" = xno],
[enable_vfstspeller=no])
AM_CONDITIONAL([WANT_VFST_SPELLER], [test "x$enable_vfstspeller" != xno])
AC_ARG_ENABLE([neural-speller],
[AS_HELP_STRING([--enable-neural-speller],
[build neural speller with opennmt-py @<:@default=no@:>@])],
Expand Down Expand Up @@ -958,13 +948,10 @@ cat<<EOF
* hyphenators:
* fst hyphenator enabled: $enable_fst_hyphenator
* pattern hyphenator enabled (requires fst hyph): $enable_fst_hyphenator
* spellers (zhfst files) enabled: $enable_spellers
* desktop spellers:
* installable packages enabled: $enable_desktop_hfstspellers
* foma speller enabled: $enable_fomaspeller
* mobile spellers (off by default, even with spellers enabled):
* hfst speller enabled: $enable_mobile_hfstspeller
* vfst speller enabled: $enable_vfstspeller
* spellers:
* zhfst desktop speller enabled: $enable_spellers
* foma speller enabled: $enable_fomaspeller
* mobile speller enabled: $enable_mobile_hfstspeller
* neural speller enabled: $enable_neural_speller
* grammar checker enabled: $enable_grammarchecker
Expand Down

0 comments on commit e7b655e

Please sign in to comment.