Skip to content

Is there a way to give a block of a text and get misspellings position and suggestions ? #105

Answered by wolfgarbe
tigitz asked this question in Q&A
Discussion options

You must be logged in to vote

SymSpell.Lookup() assumes every input string as single term.
Lookup (with verbosity set to SymSpell.Verbosity.All) will return all suggestions (within a given maximum-edit distance) ordered by edit-distance, then by word frequency.

SymSpell.LookupCompound() supports compound aware automatic spelling correction of multi-word input strings.
It supports compound splitting / decompounding with three cases:

  • mistakenly inserted space within a correct word led to two incorrect terms
  • mistakenly omitted space between two correct words led to one incorrect combined term
  • multiple input terms with/without spelling errors

LookupCompound will return the complete automatically corrected text. There is…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@tigitz
Comment options

Answer selected by tigitz
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