Back to LanguageTool Homepage - Privacy - Imprint

Inverse method for addIgnoreTokens()

(Oleg) #1

Suppose, I add ignore words for all instances SpellCheckingRule (with using method addIgnoreTokens(List tokens)).
How can I exclude these tokens from ignore list after a while?
Is exists any inverse method for addIgnoreTokens()?

Thanks, Oleg

(Daniel Naber) #2

You can probably use setConsiderIgnoreWords() so the list of words isn't considered at all anymore. Removing only some words from the list isn't supported, I think. We'd probably accept a pull request to add this feature, if it comes with a test case.