This is a migrated thread and some comments may be shown as answers.

OpenOffice spell checking

3 Answers 105 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
Beata
Top achievements
Rank 1
Beata asked on 19 Oct 2016, 01:36 PM

Is there any example which demonstrates how to create and work with a custom third-party spell checker using Open Office?

I tried https://github.com/telerik/xaml-sdk/tree/8a76eafd48278d8278b4b61d1c2aeb3c0ac8750d/RichTextBox/NHunspellSpellChecking, but it is not working properly (all words are marked as incorrect). I used en_US.aff and en_US.dic files from en_us.oxt (http://extensions.openoffice.org/en/project/us-english-spell-checking-dictionary).

Thanks

Beata

3 Answers, 1 is accepted

Sort by
0
Beata
Top achievements
Rank 1
answered on 19 Oct 2016, 02:45 PM
I managed to solve the problem.  NHunspellSpellChecking project works fine.
0
Beata
Top achievements
Rank 1
answered on 21 Oct 2016, 09:52 AM

One question regarding NHunspellSpellChecking project (and MsWordSpellChecking as well).

While checking the word with an apostrophe like "I've", the "CheckWordIsCorrect" method is checking only "ve" (instead of "I've"). The apostrophe is treated as a words separator and because of that the "I've" word is marked as incorrect.

Is there a way to check the full word "I've"?

 

Thanks,

Beata

 

 

0
Boby
Telerik team
answered on 25 Oct 2016, 05:58 AM
Hi Beata,

This is actually known bug in RadRichTextBox's SpellChecker, and is not related specifically to the NHunspellSpellChecking demo. You can subscribe to the item in the feedback portal to get notified about any status changes:
RichTextBox: Some contracted forms (e.g. they've) are not recognized by the spell checker

One possible workaround is to manually add the "'ve" word (including the apostrophe) to the dictionary.

Regards,
Boby
Telerik by Progress
Do you need help with upgrading your WPF project? Try the Telerik API Analyzer and share your thoughts!
Tags
RichTextBox
Asked by
Beata
Top achievements
Rank 1
Answers by
Beata
Top achievements
Rank 1
Boby
Telerik team
Share this question
or