Title Back Colour Keyoti Title Line Title Curve
Blue Box Top

New Words do not persist in the dictionary - RapidSpell Desktop .NET - Forum

Welcome Guest Search | Active Topics | Log In | Register

Options
jurisdeveloper
#1 Posted : Friday, May 22, 2015 8:49:01 PM
Rank: Newbie

Groups: Registered

Joined: 5/22/2015
Posts: 2
Location: Raleigh, North Carolina
We are using Keyoti.RapidSpell.NET4 in our Windows Application. It does spell check and adds the words to dictionary. We use the method SpellChecker.Addword(word_to_be_added). It adds the word to the dictionary and we could confirm it when we check for the word again it does not give any error.

While we log out and login the application again (i.e. in the next session) the new word is not saved .It throws an error again.

We also tried by defining the user dictionary as SpellChecker.SetUserDictionary("en_US.dic") and then adding the word as JSpell.SpellChecker.userDictionary.AddWord(word_to_be_added); but that also does not save the values in the next session.

Please share your thoughts and help us to solve this issue at the earliest.

Thanks,
Jayashree
Jim
#2 Posted : Monday, May 25, 2015 3:47:50 AM
Rank: Advanced Member

Groups: Administrators, Registered

Joined: 8/13/2004
Posts: 2,667
Location: Canada
Hi Jayashree, after you reply to this I'm going to move it to the RapidSpell Desktop forum - so look for it there next time please.

What is inside of en_US.dic? Is it a text file? Our user dictionaries are UTF8 text files, and limited to 5000 words by default. If en_US.dic is binary, OR a complete dictionary, then it would explain what you're seeing.

We have a 'main dictionary' for the complete English dictionary, by default it's compressed in the DLL. See http://keyoti.com/produc.../The%20Dictionaries.htm

Best
Jim
-your feedback is helpful to other users, thank you!


jurisdeveloper
#3 Posted : Monday, May 25, 2015 2:23:55 PM
Rank: Newbie

Groups: Registered

Joined: 5/22/2015
Posts: 2
Location: Raleigh, North Carolina
Thank You Jim!
The link was very helpful. The words are now getting added to the dictionary . We are setting the user dictionary as SpellChecker.SetUserDictionary("UserDictionary.dict") and then adding the word to it SpellChecker.AddWord(originalWord); .

Here UserDictionary.dict is a dict file in ANSI newly created and the user custom words are added to it.

I notice that words are case sensitive.For example the word 'Erry' is taken as a different word from 'erry'. Do we need to save the word again as 'Erry' or is there a way we can ignore case while checking it from UserDictionary.

Please share your thoughts on this.

Thanks
Jayashree

Jim
#4 Posted : Monday, May 25, 2015 3:29:13 PM
Rank: Advanced Member

Groups: Administrators, Registered

Joined: 8/13/2004
Posts: 2,667
Location: Canada
Case sensitivity is important, you should add words like names in uppercase, eg. 'Raleigh', so that they are not accepted as 'raleigh'. Any word added in lowercase is allowed in any capitalization. So if you add 'raleigh' then it will be accepted as 'Raleigh' too.

Jim
-your feedback is helpful to other users, thank you!


Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.




About | Contact | Site Map | Privacy Policy

Copyright © 2002- Keyoti Inc.