Online Documentation - Statistics - FAQ - Plugin Parts (All, Dependencies) - Class hierarchy
New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1
The list of the topics, classes, interfaces, controls, modules, global methods by category, global methods by name, screenshots, licenses and examples.
Platforms to show: All Mac Windows Linux Cross-Platform
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | Linguistic | MBS MacCocoa Plugin | 17.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The NSLinguisticTaggerMBS class provides a uniform interface to a variety of natural language processing functionality with support for many different languages and scripts. You can use NSLinguisticTaggerMBS to segment natural language text into paragraphs, sentences, or words, and tag information about those tokens, such as part of speech, lexical class, lemma, script, and language.
When you create a linguistic tagger, you specify what kind of information you're interested in by passing one or more
NSLinguisticTagScheme values. Set the string property to the natural language text you want to analyze, and the linguistic tagger processes it according to the specified tag schemes. You can then enumerate over the tags in a specified range, using the methods described in Enumerating Linguistic Tags, to get the information requested for a given scheme and unit.
Constant | Value | Description |
---|---|---|
NSLinguisticTaggerJoinNames | 16 |
Typically, multiple-word names will be returned as multiple tokens, following the standard tokenization practice of the tagger. If this option is set, then multiple-word names will be joined together and returned as a single token. |
NSLinguisticTaggerOmitOther | 8 |
Omit tokens of type NSLinguisticTagOther (non-linguistic items, such as symbols). |
NSLinguisticTaggerOmitPunctuation | 2 |
Omit tokens of type NSLinguisticTagPunctuation (all punctuation). |
NSLinguisticTaggerOmitWhitespace | 4 |
Omit tokens of type NSLinguisticTagWhitespace (whitespace of all sorts). |
NSLinguisticTaggerOmitWords | 1 |
Omit tokens of type NSLinguisticTagWord (items considered to be words). |
Constant | Value | Description |
---|---|---|
NSLinguisticTaggerUnitDocument | 3 |
The document in its entirety. |
NSLinguisticTaggerUnitParagraph | 2 |
An individual paragraph. |
NSLinguisticTaggerUnitSentence | 1 |
An individual sentence. |
NSLinguisticTaggerUnitWord | 0 |
An individual word. |
This class has no sub classes.
The items on this page are in the following plugins: MBS MacCocoa Plugin.
NSLevelIndicatorMBS - NSLinguisticValueMBS