Page 1 of 1

[Module] SpellCheck (all OS)

Posted: Wed Jun 26, 2019 3:07 pm
by Thorsten1867
SpellCheck - Module (all OS / 64Bit)

Check spelling & suggest corrections (Damerau-Levenshtein-Distance)

Code: Select all

; SpellCheck::AddToUserDictionary()   - add a word to the user dictionary
; SpellCheck::ClearCheckedWords()     - clears all check words from map
; SpellCheck::CorrectionSuggestions() - returns a list with correction suggestions (Damerau-Levenshtein-Distance)
; SpellCheck::FreeDictionary()        - removes dictionary from memory
; SpellCheck::LoadDictionary()        - loads a dictionary
; SpellCheck::Query()                 - returns whether a word is right, misspelled or unknown.
; SpellCheck::SaveUserDictionary()    - saves user dictionary
; SpellCheck::Text()                  - checks a text for spelling mistakes
; SpellCheck::Word()                  - checks if a word is spelled correctly
Download: SpellCheckModule.pbi

Re: [Module] SpellCheck (all OS)

Posted: Wed Jun 26, 2019 8:02 pm
by vwidmer
This is nice.. But how can you show the correct suggestions?

Thanks

Re: [Module] SpellCheck (all OS)

Posted: Sat Jun 29, 2019 9:45 am
by Thorsten1867
You can only check the spelling.
To find suggestions would require a completely different algorithm.

Re: [Module] SpellCheck (all OS)

Posted: Sat Jul 27, 2019 7:11 pm
by Thorsten1867
Update: correction suggestions on the basis of the 'Damerau-Levenshtein-Distance'

Re: [Module] SpellCheck (all OS)

Posted: Mon Jul 19, 2021 6:13 pm
by jacdelad
I may be stupid, but trying to start it tells me "DamerauLevenshteinDistance" is not a function, array etc.
And I can't find the function in the source. Do I need any addon?