NSLinguisticTagger
NSLinguisticTagger is a veritable Swiss Army Knife of linguistic functionality, with the ability to tokenize natural language strings into words, determine their part-of-speech & stem, extract names of people, places, & organizations, and tell you the languages & respective writing system used in the string.
→ nshipster.com/nslinguistictagger/
NSLinguisticTagger offers powerful tools to process natural language. It breaks strings into tokens, finds parts of speech and stems, pulls out names of people, places, and groups, and spots languages and scripts.
For example, it can parse "What is the weather in San Francisco?" to spot nouns, verbs, and place names, helping guess user aims.
Set it with schemes like TokenType (words, punctuation, whitespace), LexicalClass (noun, verb, adjective), NameType (personal, place, organisation), Lemma (stems), Language, or Script.
Options omit words, punctuation, whitespace, or other tokens, or join names like "San Francisco".
NSString has easy methods to get tags without full setup.
Natural language can improve app interfaces, cutting taps and time. Use NSLinguisticTagger to try new features.
Category:
Tags:
Year: