Support Forum


Keyoti Support Forum - Selection dialog SpellChecker- xTextControl 15.Net
Keyoti Support Forum
Keyoti Support Forum
Home | Profile | Register | Active Topics | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Technical Support Questions
 RapidSpell Desktop .NET
 Selection dialog SpellChecker- xTextControl 15.Net
 New Topic  Reply to Topic
Author Topic  

Mauro76

Italy
13 Posts

Posted - 15 Oct 2009 :  05:39:58  Show Profile  Reply with Quote
In this images is possible to watch our problem:

http://img118.imageshack.us/img118/166/imm1.png

http://img301.imageshack.us/img301/9467/imm2.png

In the selection dialog, in which is possible to add or to skip the word in the dictionary, we don't want to watch the word division (syllables), than we use have implemented .

In this forum:

http://www.keyoti.com/support/topic.asp?TOPIC_ID=1405

you have resolved a similar problem, but not the same.

thank you for your help
Mauro

Mauro76

Italy
13 Posts

Posted - 15 Oct 2009 :  05:58:18  Show Profile  Reply with Quote
http://img118.imageshack.us/img118/5497/imm3.png

I have circled in red the syllabic division
Go to Top of Page

Jim

Canada
2203 Posts

Posted - 15 Oct 2009 :  11:49:52  Show Profile  Reply with Quote
Hi, yes what you want to do is follow our 'custom GUI' example (in the demo project and also

http://keyoti.com/products/rapidspell/dotNet/HelpHTML/UserGuide/Examples/Custom%20RapidSpellDialog%20User%20Interface.htm

)

What you want to do is change the SetQuery method, so that the FIRST thing you do is remove the "^" chars, eg.



public void SetQuery(string beforeSentence, string word, string afterSentence)
{
beforeSentence = beforeSentence.Replace("^", "");
afterSentence = afterSentence.Replace("^", "");
word = word.Replace("^", "");
editableStart = beforeSentence.Length;
editableEndFromEnd = afterSentence.Length;
queryWordPane.Text = beforeSentence + word + afterSentence;
queryWordPane.Select(editableStart, word.Length);
queryWordPane.SelectionColor = HighlightFontColor;
queryWordPane.SelectionFont = new Font(queryWordPane.SelectionFont, HighlightFontStyle);
queryWordPane.Select(editableStart, 0);
queryWordPane.ScrollToCaret();
}



That should take care of it for you - let us know.

Best
Jim


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

Edited by - Jim on 15 Oct 2009 11:51:01
Go to Top of Page

Mauro76

Italy
13 Posts

Posted - 16 Oct 2009 :  05:52:41  Show Profile  Reply with Quote
It's all OK.
Now the char "^" isn't visible, thank you very much.

There are one more thing:
In the Italian linguage is used frequently the char " ' ", an example is "L'anno", like your Saxon genitive in the word "dog's"
but in my italian dictionary the char " ' " is an error, in the english dictionary no.

See any examples:
http://img63.imageshack.us/img63/166/imm1.png
http://img97.imageshack.us/img97/9467/imm2.png
http://img63.imageshack.us/img63/5497/imm3.png
Go to Top of Page

Dan

306 Posts

Posted - 16 Oct 2009 :  09:27:56  Show Profile  Reply with Quote
Hi Mauro,

Can you set LanguageParser=ITALIAN for RapidSpellDialog please.

That really should resolve it for you, please let us know how you get on.

Dan
Go to Top of Page

Mauro76

Italy
13 Posts

Posted - 19 Oct 2009 :  00:35:36  Show Profile  Reply with Quote
Hi Dan and Jim, I just set LanguageParser=ITALIAN for RapidSpellDialog, but our proplem isn't risolve.
Every words, than have this char " ' " in the middle, is considered error.
Why???
Go to Top of Page

Mauro76

Italy
13 Posts

Posted - 19 Oct 2009 :  03:51:23  Show Profile  Reply with Quote
lol
Go to Top of Page

Mauro76

Italy
13 Posts

Posted - 19 Oct 2009 :  03:52:28  Show Profile  Reply with Quote
Hi Dan and Jim, I just set LanguageParser=ITALIAN for RapidSpellDialog, but our problem isn't risolve.
Every words, than have this char " ' " in the middle, is considered error.
Why???
Go to Top of Page

Jim

Canada
2203 Posts

Posted - 19 Oct 2009 :  09:51:38  Show Profile  Reply with Quote
quote:

lol



What are you laughing at?

Have you set that property in RapidSpellAsYouType as well?


-your feedback is helpful to other users, thank you!
Go to Top of Page

Mauro76

Italy
13 Posts

Posted - 20 Oct 2009 :  00:16:01  Show Profile  Reply with Quote
sorry, for my expression, i didn't want to make any consideration, I wrong to write my first messagge...sorry.
I can not eliminate my problem with the char " ' ", when this char is present in the middle of my word, it is wrong for the dictionary.
Go to Top of Page

Mauro76

Italy
13 Posts

Posted - 20 Oct 2009 :  01:42:20  Show Profile  Reply with Quote
I want to be more precise, the same word in the first case is right, in the second is wrong:
l' anno (right for the SpellChecker)
l'anno (wrong for the SpellChecker).
if the char " ' " is following from blank the word is right. ( L' anno)
if the word is one, without blank, it's wrong. (L'anno)
Go to Top of Page

Mauro76

Italy
13 Posts

Posted - 20 Oct 2009 :  02:59:09  Show Profile  Reply with Quote
The property, than we use, in RapidSpellAsYouType are in default mode.
Go to Top of Page

Jim

Canada
2203 Posts

Posted - 20 Oct 2009 :  09:12:54  Show Profile  Reply with Quote
No problem. It appears our advice was wrong, you should set LanguageParser to FRENCH in both RapidSpellDialog and RapidSpellAsYouType, sorry about that. I know it's Italian language but the French parser is correct for it.

Best
Jim


-your feedback is helpful to other users, thank you!
Go to Top of Page

Mauro76

Italy
13 Posts

Posted - 21 Oct 2009 :  03:48:38  Show Profile  Reply with Quote
Thank you very much
Now it's all right.

Bye
Mauro

I hope I never have to ask you to other aid
Thanks
Go to Top of Page
  Topic  
 New Topic  Reply to Topic
Jump To:
Keyoti Support Forum © Keyoti Inc. Go To Top Of Page
Snitz Forums 2000


About | Contact | Site Map | Privacy Policy

Copyright © 2002-2010 Keyoti Inc.