NSSpellChecker language guessing doesn't work
NSSpellChecker language guessing doesn't work
- Subject: NSSpellChecker language guessing doesn't work
- From: Chris Idou <email@hidden>
- Date: Mon, 14 Dec 2009 16:38:12 -0800 (PST)
I'm trying to use guessesForWordRange:inString:language:inSpellDocumentWithTag: and have it use automatic language guessing, but it doesn't seem to work.
At first I was just passing a word, and despite it being in Russian letters, I figured it didn't have enough context to guess. So I passed in a large document with the range of the word I want checked. But this didn't work either.
So then I thought, maybe this API isn't one that guesses. So I tried calling checkSpellingOfString:startingAt:language:wrap:inSpellDocumentWithTag:wordCount: immediately prior with a unique tag the same as what I pass to guessesForWordRange:inString:language:inSpellDocumentWithTag. But this didn't help at all either.
How can I force the spell checking to guess languages?
__________________________________________________________________________________
See what's on at the movies in your area. Find out now: http://au.movies.yahoo.com/session-times/
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden