Can Tisane spell-check my text?


Yes, although with some limitations.

The good news is that Tisane can spell-check in unattended mode, picking the most likely interpretation. The unattended mode is good enough for natural language processing applications, be it generic parsing, machine translation, or chatbots. That is the original purpose: to help Tisane handle misspelled or purportedly obfuscated text. However, Tisane’s spell-checking should not be used in scenarios when the human is present.

The bad news is that the spell-checking is not a “did you mean” tool, as many people seem to believe. If the word is a legitimate word, no matter if misused or esoteric, Tisane will not correct it. If noun is misspelled as nun, or house is misspelled as horse, Tisane won’t help. Combined with the large size of Tisane’s dictionaries, that makes it a bit confusing at times. One customer complained that Tisane did not correct “hollo world”. Why? Because, surprisingly, hollo is a legitimate word.

To get around the issue, we added a special parameter min_generic_frequency that allows pruning the most esoteric senses and words. The frequency is graded between 0 and 10, with 10 being the most frequent. Certain esoteric senses are also graded at -10. Try setting min_generic_frequency to 1 or 2 to see if it works in your case.

If you need to avoid spell-checking potential proper nouns, set lowercase_spellcheck_only to true.

Lastly, the corrected_text attribute is per sentence, and so you need to display the sentence info. Set words to true.

Sample call:

{"language":"en", "content": "thw spelchecker is not perfec but doqs the jyb", "settings":{"min_generic_frequency":1, "lowercase_spellcheck_only":true, "words":true}}

Click here to sign up (free for up to 50,000 calls per month).

Questions? Ask us.