Title Back Colour Keyoti Title Line Title Curve
Blue Box Top

Simulate 'add' to dictionary in javascript - RapidSpell Web ASP.NET - Forum

Welcome Guest Search | Active Topics | Log In | Register

Options
Roman
#1 Posted : Tuesday, March 31, 2015 4:45:16 PM
Rank: Newbie

Groups: Registered

Joined: 3/19/2015
Posts: 8
Hi.
I have a custom dictionary I want to add to the Keyoti dictionary via javascript.
Which function do I call?
In other words, which main function is responsible for adding words to Keyoti Dictionary.
Thanks
Jim
#2 Posted : Tuesday, March 31, 2015 5:31:49 PM
Rank: Advanced Member

Groups: Administrators, Registered

Joined: 8/13/2004
Posts: 2,667
Location: Canada
Please see http://keyoti.com/produc...%20String%20Checking%20(RapidSpellCheckerClient).htm

Provided you import RapidSpell-AYT.js, then you can do

Code:

var rsc = new RapidSpellCheckerClient(rapidSpell.ayt_helperURL);
rsc.config = rsw_getConfigurationObject('default');

rsc.AddWord("someword");


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


Roman
#3 Posted : Thursday, April 2, 2015 4:40:30 PM
Rank: Newbie

Groups: Registered

Joined: 3/19/2015
Posts: 8
Thanks' it worked.
Is there also a removing option?
Jim
#4 Posted : Friday, April 3, 2015 3:14:51 AM
Rank: Advanced Member

Groups: Administrators, Registered

Joined: 8/13/2004
Posts: 2,667
Location: Canada
Sorry no, but technically speaking you can do it by editing the user dictionary text file.
-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.