Posted 16 June 2022, 3:19 pm EST
Hi,
Is there, and if so where can i find, a spellcheck dictionary for the hebrew language (he-il)?
If there isn’t one - will there be? Or How can i produce one?
Forums Home / ComponentOne / WPF Edition
Posted by: Guy on 16 June 2022, 3:19 pm EST
Posted 16 June 2022, 3:19 pm EST
Hi,
Is there, and if so where can i find, a spellcheck dictionary for the hebrew language (he-il)?
If there isn’t one - will there be? Or How can i produce one?
Posted 17 June 2022, 4:56 am EST
Hi Guy,
You can create a custom spellcheck dictionary by implementing C1.Win.C1SpellChecker.ISpellDictionary interface as follows:
public class MySpellDictionary : C1.Win.C1SpellChecker.ISpellDictionary
{
public bool Contains(string word)
{
// check word existence here
return word.StartsWith("z", StringComparison.InvariantCultureIgnoreCase);
}
}
And then you need to set the C1SpellChecker’s CustomDictionary property as follows:
c1SpellChecker1.CustomDictionary = new MySpellDictionary();
Please refer to the same from here:
https://www.grapecity.com/componentone/docs/win/online-spellchecker/creatingacustomdicti.html
Best Regards,
Kartik