Title Back Colour Keyoti Title Line Title Curve
Blue Box Top

Multiple user dictionaires - RapidSpell WPF - Forum

Welcome Guest Search | Active Topics | Log In | Register

Options
TMulder
#1 Posted : Tuesday, January 18, 2011 10:56:41 AM
Rank: Member

Groups: Registered

Joined: 1/4/2011
Posts: 42
Hi,

MS-Word has the option to have several user dictionaries. That option is used a lot by our clients. These company wide dictionaries, contain names of clients, places, and terms.

Is it possible to add more than one userdictionary. There is only one writable, but multiple read only dictionaries.

Jim
#2 Posted : Tuesday, January 18, 2011 1:23:32 PM
Rank: Advanced Member

Groups: Administrators, Registered

Joined: 8/13/2004
Posts: 2,667
Location: Canada
Hi, it doesn't do it out of the box, but yes you should be able to with some custom code.

http://keyoti.com/kb/Def...ew&questId=129&catId=62

That example shows how to put the user dictionary in a database, but it should serve as a simple illustration of how to customize how the user dictionary works. So in your case you'd want ReadAll to read from each dictionary file and put it in the word list. And you'd want AddWord to write to the main file.

If you have any trouble, let me know which language you're using and I'll try it out.

Jim

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

Evaluation Downloads - http://keyoti.com/products
-your feedback is helpful to other users, thank you!


TMulder
#3 Posted : Tuesday, January 18, 2011 3:19:40 PM
Rank: Member

Groups: Registered

Joined: 1/4/2011
Posts: 42
Thanks. That worked great!
However, would it now be a great feature if you could read and use the MS-Word dictionaries by default?
Jim
#4 Posted : Tuesday, January 18, 2011 3:43:16 PM
Rank: Advanced Member

Groups: Administrators, Registered

Joined: 8/13/2004
Posts: 2,667
Location: Canada
Great.

Do you mean, automatically find them and offer them? You know that we can read Word custom dictionaries because they're just text files like our user dictionary?



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

Evaluation Downloads - http://keyoti.com/products
-your feedback is helpful to other users, thank you!


TMulder
#5 Posted : Tuesday, January 18, 2011 4:29:53 PM
Rank: Member

Groups: Registered

Joined: 1/4/2011
Posts: 42
Yep, just adding another option called something like "UseMSWordCustomDictionaries". That would get the MS word custom dictionaries and use these. You can find them in the registry tree: "HKCU\Software\Microsoft\Shared Tools\Proofing Tools\1.0\Custom Dictionaries"
Jim
#6 Posted : Tuesday, January 18, 2011 4:48:07 PM
Rank: Advanced Member

Groups: Administrators, Registered

Joined: 8/13/2004
Posts: 2,667
Location: Canada
Thanks, I'll put it on the bug/feature tracker

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

Evaluation Downloads - http://keyoti.com/products
-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.