Skip to content

dictionary_word_is_known functionality #1474

Closed Answered by linas
as-cal8 asked this question in Q&A
Discussion options

You must be logged in to vote

You may have "unknown word" defined. This enables rules that attempt to guess unknown words, based on the form. For example, there are recognizers for various Latinate ends, common in science lit. There are also regexes for roman numerals, and some other specialty forms. The above example used the <ALL-UPPER> regex.

Surprisingly, there is no C API to turn it on and off (perhaps it should be added?) It can be turned off by commenting out UNKNOWN-WORD in the dictionary. Might also need to disable the <ALL-UPPER> regex as well? Not sure.

Even if UNKNOWN-WORD is disabled, the spell-guesser might run. That can be disabled with the parse_options_set_spell_guess() API call.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by as-cal8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants