Custom dictionary has no effect

Hi there, I try to use a custom dictionary, just a list of words (UTF-8), It does not have any effect, all its words are underlined with red in the textbox. I tried only non-accented words that could occur in English as well. Please advise.

.NET 6.0, Syncfusion  19.3.0.57

CultureInfo culture = new CultureInfo("en-US");
_spellChecker.Dictionaries = new DictionaryCollection
{
new CustomDictionary
{
Culture = culture,
DictionaryUri = new Uri(Path.Combine( _pathResources, "huLexWords.txt" ), UriKind.Absolute),
}
};
_spellChecker.Culture = culture;
SfSpellChecker.SetSpellChecker(TextEditor, _spellChecker);


4 Replies

SN Sudharsan Narayanan Syncfusion Team December 15, 2021 03:29 AM UTC

Hi Gyorgy,

We have checked the reported query that “Custom dictionary no effect” from our end. We are unable to reproduce the issue and the given custom words in dictionary are working fine when we spell check. So, please find the sample from the below sample,

Sample: https://www.syncfusion.com/downloads/support/forum/171165/ze/CustomSpellCheck1184844825

Please check the above sample and let me know. If we misunderstood the query or issues, Please modify the sample with issue reproducible and share the same. So, it will be helpful for provide you the solution as earliest.

Regards,
Sudharsan



GG Gyorgy Gorog December 15, 2021 08:47 PM UTC

Sudharsan, even your example does not work in my environment. I am a bit confused. 




SN Sudharsan Narayanan Syncfusion Team December 17, 2021 03:02 AM UTC

Hi Gyorgy,

We're perplexed by your response and the reported query "Custom dictionary no impact" in this thread. If your response is related to the "Hunspell code throws message" query raised in the forum id 171166, please follow the concerned thread to avoid confusion.

Regards,
Sudharsan



GG Gyorgy Gorog December 17, 2021 04:48 PM UTC

Sudharsan, I think a post of mine has been lost. Please close this thread and I will open a new one with a hopefully clear explanation of my findings.


Loader.
Up arrow icon