Re: NSLinguisticTagger
Re: NSLinguisticTagger
- Subject: Re: NSLinguisticTagger
- From: "Gerriet M. Denkmann" <email@hidden>
- Date: Wed, 24 Sep 2014 14:19:20 +0700
On 24 Sep 2014, at 12:23, Roland King <email@hidden> wrote:
Seems there are two classes of algorithms:
Low class:
CFStringTokenizer
NSStringEnumerationByWords
NSLinguisticTagger
These get "我今天还没有去健身房" wrong, and are available on iOS.
High class:
Icu
NSTextView (selectionRangeForProposedRange:granularity: NSSelectByWord)
AttributedString (doubleClickAtIndex:)
These can parse the Chinese sentence correctly, but are NOT available on iOS.
Anything else I could try?
Gerriet.
_______________________________________________
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