Title Back Colour Keyoti Title Line Title Curve
Blue Box Top

IgnoreList field and case sensivity - RapidSpell Web ASP.NET - Forum

Welcome Guest Search | Active Topics | Log In | Register

Options
Cardagant
#1 Posted : Thursday, February 8, 2018 8:07:57 PM
Rank: Member

Groups: Registered

Joined: 11/21/2017
Posts: 16
Location: Ukraine
Hi all,

I have an issue using IgnoreList field during spell check process.

I will give an example to be more clear:

For example in the same text I have three same words that will be found as spelling mistakes that have differences in upper/lower case.

splling
Splling
SPLLING

Let's assume that I want to ignore "splling" word during spell check and add this word to Ignore list of the checker. After that I am trying to check the menthioned text and I see that the words

Splling
SPLLING

are still threated as mistakes even though I added their "lower case" copy into the list.

The question is: is there an option to disable case sensivity for Ignore list to ignore all possible cases of the word in the text?

Looking forward to your reply.
Jim
#2 Posted : Thursday, February 8, 2018 9:38:39 PM
Rank: Advanced Member

Groups: Administrators, Registered

Joined: 8/13/2004
Posts: 2,669
Location: Canada
Sorry there isn't an option to make the IgnoreList case insensitive, but you can use the AddWord method instead to add the word to the user dictionary which obeys the case rules you're hoping for. Otherwise adding 'Splling' and 'SPLLING' to ignore list yourself will cover most bases.

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


Cardagant
#3 Posted : Friday, February 9, 2018 7:26:52 AM
Rank: Member

Groups: Registered

Joined: 11/21/2017
Posts: 16
Location: Ukraine
Hi again!

In my case I have a user dictionary and ignore list at the same time so I am not able to use the first proposed approach. Moreover, I have to include user dictionary words to suggestion list so this is not an option at all.
I will consider the second option you provided, thanks.

Can we expect this to be fixed in the nearest future or workarounds only must be considered?
Jim
#4 Posted : Friday, February 9, 2018 4:42:03 PM
Rank: Advanced Member

Groups: Administrators, Registered

Joined: 8/13/2004
Posts: 2,669
Location: Canada
We'll have to look at this more closely to know if the behaviour should change, but let me ask you if you add "qqq" to the IgnoreList, would you expect "qQq" to be ignored too?
-your feedback is helpful to other users, thank you!


Cardagant
#5 Posted : Friday, February 9, 2018 6:25:46 PM
Rank: Member

Groups: Registered

Joined: 11/21/2017
Posts: 16
Location: Ukraine
If I had a case insensitive parameter enabled (so we do not care about upper/lower case), I would expect 'qQq' also be ignored as we ignore the word 'qqq' in general. Does it make sense?

But again it mught be implemented as a boolean flag so each user of the libraries could enable/disable such behaviour.
Jim
#6 Posted : Friday, February 9, 2018 6:50:24 PM
Rank: Advanced Member

Groups: Administrators, Registered

Joined: 8/13/2004
Posts: 2,669
Location: Canada
The problem is that IgnoreList serves a specific purpose for the spell checker and how you're using it is not necessarily inline with that.

There is another way, you can do it like this

RapidSpellChecker.AddIgnorePattern("qqq(?i)");

that words with Regex's, the only caveat is that it only supports 20 regexes and one of those is out URL matcher. That said we could expand it beyond 20.

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


Cardagant
#7 Posted : Friday, February 9, 2018 7:03:24 PM
Rank: Member

Groups: Registered

Joined: 11/21/2017
Posts: 16
Location: Ukraine
I understand what you are talking about, however I have a list of predefined ignored words I should apply during spell check process. These ones are not expected to be used as suggestions.

At the same time I have a user dictionary with a set of predefined words that I expect to see as suggestions for a mistake (I enabled flag to include user dictionary words to suggestions). And of course I will not have the same word in two lists (regular and ignore dictionaries) at the same time.

You recommend me usage of IgnorePattern, but I do not know how many predefined ignored words I may have in the begining.
Jim
#8 Posted : Friday, February 9, 2018 7:11:39 PM
Rank: Advanced Member

Groups: Administrators, Registered

Joined: 8/13/2004
Posts: 2,669
Location: Canada
Ok, I'll get you a new build with option to make ignore list case insensitive. I'm assuming you're using v5
-your feedback is helpful to other users, thank you!


Cardagant
#9 Posted : Friday, February 9, 2018 7:34:55 PM
Rank: Member

Groups: Registered

Joined: 11/21/2017
Posts: 16
Location: Ukraine
Sounds fantastic! Thanks a lot.

Here is currently v4 in use (Keyoti.RapidSpellWeb.ASP.NETv4.dll). I will check out why we are not using v5.
Jim
#10 Posted : Friday, February 9, 2018 7:43:02 PM
Rank: Advanced Member

Groups: Administrators, Registered

Joined: 8/13/2004
Posts: 2,669
Location: Canada
The v4 in the DLL name is actually "ASP.NETv4", there's also a DLL with "ASP.NETv2". To find the real version number you can right click -> properties -> details.

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


Cardagant
#11 Posted : Friday, February 9, 2018 8:04:39 PM
Rank: Member

Groups: Registered

Joined: 11/21/2017
Posts: 16
Location: Ukraine
OK, the Product version of it is even 3.8.

So, could you please tell me how I will be able to get a new build dll file?
Jim
#12 Posted : Friday, February 9, 2018 8:07:31 PM
Rank: Advanced Member

Groups: Administrators, Registered

Joined: 8/13/2004
Posts: 2,669
Location: Canada
Sorry you'd need to purchase an upgrade to v5

https://keyoti.com/produ...b/upgradelicensing.html

We don't support v3 anymore, it is ancient.
-your feedback is helpful to other users, thank you!


Cardagant
#13 Posted : Friday, February 9, 2018 8:12:35 PM
Rank: Member

Groups: Registered

Joined: 11/21/2017
Posts: 16
Location: Ukraine
I see. Thanks for all help you provided. I will check out the current situation.
Cardagant
#14 Posted : Wednesday, March 7, 2018 12:22:15 PM
Rank: Member

Groups: Registered

Joined: 11/21/2017
Posts: 16
Location: Ukraine
Jim wrote:
Sorry you'd need to purchase an upgrade to v5

https://keyoti.com/produ...b/upgradelicensing.html

We don't support v3 anymore, it is ancient.



Hi Jim.

I double-checked that and at the moment we have the latest license so we are able to use the latest build of the product.

I was wondering if you could confirm that you have already added the option we discussed previously to the latest build or let me know when you are going to make the changes.

Thanks in advance.
Jim
#15 Posted : Wednesday, March 7, 2018 6:57:02 PM
Rank: Advanced Member

Groups: Administrators, Registered

Joined: 8/13/2004
Posts: 2,669
Location: Canada
Here you go https://www.dropbox.com/...apidSpell.NET4.dll?dl=0

Just set RapidSpellChecker.IgnoreAllCaseInsensitive = true

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


Cardagant
#16 Posted : Friday, March 9, 2018 10:20:37 AM
Rank: Member

Groups: Registered

Joined: 11/21/2017
Posts: 16
Location: Ukraine
Hi Jim,

As I can see following the link, you shared Desktop NET version of the dll.

Can I have the change for Web ASP.NET dll?

Thanks in advance.
Jim
#17 Posted : Saturday, March 10, 2018 3:41:29 AM
Rank: Advanced Member

Groups: Administrators, Registered

Joined: 8/13/2004
Posts: 2,669
Location: Canada
Sorry my mistake!

https://www.dropbox.com/...llWeb.ASP.NETv4.dll?dl=0
-your feedback is helpful to other users, thank you!


Cardagant
#18 Posted : Monday, March 12, 2018 9:44:44 PM
Rank: Member

Groups: Registered

Joined: 11/21/2017
Posts: 16
Location: Ukraine
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.