Package org.robovm.apple.foundation
Class NSLinguisticTagger
java.lang.Object
org.robovm.rt.bro.NativeObject
org.robovm.objc.ObjCObject
org.robovm.apple.foundation.NSObject
org.robovm.apple.foundation.NSLinguisticTagger
- All Implemented Interfaces:
NSObjectProtocol,ObjCProtocol
@Deprecated public class NSLinguisticTagger extends NSObject
Deprecated.
All NSLinguisticTagger API should be replaced with NaturalLanguage.framework API
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNSLinguisticTagger.NSLinguisticTaggerPtrDeprecated.Nested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInitNested classes/interfaces inherited from class org.robovm.objc.ObjCObject
ObjCObject.ObjCObjectPtr, ObjCObject.Super -
Field Summary
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAINFields inherited from class org.robovm.objc.ObjCObject
customClass -
Constructor Summary
Constructors Modifier Constructor Description NSLinguisticTagger()Deprecated.NSLinguisticTagger(List<NSLinguisticTagScheme> tagSchemes, NSLinguisticTaggerOptions opts)Deprecated.All NSLinguisticTagger API should be replaced with NaturalLanguage.framework APIprotectedNSLinguisticTagger(NSObject.Handle h, long handle)Deprecated.protectedNSLinguisticTagger(NSObject.SkipInit skipInit)Deprecated. -
Method Summary
Modifier and Type Method Description static NSArray<NSString>availableTagSchemesForUnit(NSLinguisticTaggerUnit unit, String language)Deprecated.All NSLinguisticTagger API should be replaced with NaturalLanguage.framework APIstatic StringdominantLanguageForString(String string)Deprecated.All NSLinguisticTagger API should be replaced with NaturalLanguage.framework APIstatic voidenumerateTagsForString(String string, NSRange range, NSLinguisticTaggerUnit unit, String scheme, NSLinguisticTaggerOptions options, NSOrthography orthography, VoidBlock3<String,NSRange,BooleanPtr> block)Deprecated.All NSLinguisticTagger API should be replaced with NaturalLanguage.framework APIvoidenumerateTagsInRange(NSRange range, NSLinguisticTaggerUnit unit, String scheme, NSLinguisticTaggerOptions options, VoidBlock3<String,NSRange,BooleanPtr> block)Deprecated.All NSLinguisticTagger API should be replaced with NaturalLanguage.framework APIvoidenumerateTagsInRange(NSRange range, NSLinguisticTagScheme tagScheme, NSLinguisticTaggerOptions opts, VoidBlock4<NSLinguisticTag,NSRange,NSRange,BooleanPtr> block)Deprecated.All NSLinguisticTagger API should be replaced with NaturalLanguage.framework APIstatic List<NSLinguisticTagScheme>getAvailableTagSchemes(String language)Deprecated.All NSLinguisticTagger API should be replaced with NaturalLanguage.framework APIStringgetDominantLanguage()Deprecated.All NSLinguisticTagger API should be replaced with NaturalLanguage.framework APINSOrthographygetOrthography(long charIndex, NSRange effectiveRange)Deprecated.All NSLinguisticTagger API should be replaced with NaturalLanguage.framework APIList<NSLinguisticTag>getPossibleTags(long charIndex, NSLinguisticTagScheme tagScheme, NSRange tokenRange, NSRange sentenceRange)Deprecated.protected List<NSLinguisticTag>getPossibleTags(long charIndex, NSLinguisticTagScheme tagScheme, NSRange tokenRange, NSRange sentenceRange, NSArray.NSArrayPtr<?> scores)Deprecated.All NSLinguisticTagger API should be replaced with NaturalLanguage.framework APIList<Long>getPossibleTagScores(long charIndex, NSLinguisticTagScheme tagScheme, NSRange tokenRange, NSRange sentenceRange)Deprecated.NSRangegetSentenceRange(NSRange range)Deprecated.All NSLinguisticTagger API should be replaced with NaturalLanguage.framework APIStringgetString()Deprecated.All NSLinguisticTagger API should be replaced with NaturalLanguage.framework APIStringgetTag(long charIndex, String scheme, NSRange tokenRange, NSRange sentenceRange)Deprecated.All NSLinguisticTagger API should be replaced with NaturalLanguage.framework APIList<NSRange>getTagRanges(NSRange range, NSLinguisticTagScheme tagScheme, NSLinguisticTaggerOptions opts)Deprecated.List<NSLinguisticTag>getTags(NSRange range, NSLinguisticTagScheme tagScheme, NSLinguisticTaggerOptions opts)Deprecated.protected List<NSLinguisticTag>getTags(NSRange range, NSLinguisticTagScheme tagScheme, NSLinguisticTaggerOptions opts, NSArray.NSArrayPtr<?> tokenRanges)Deprecated.All NSLinguisticTagger API should be replaced with NaturalLanguage.framework APIList<NSLinguisticTagScheme>getTagSchemes()Deprecated.All NSLinguisticTagger API should be replaced with NaturalLanguage.framework APIprotected longinit(List<NSLinguisticTagScheme> tagSchemes, NSLinguisticTaggerOptions opts)Deprecated.All NSLinguisticTagger API should be replaced with NaturalLanguage.framework APIvoidsetOrthography(NSOrthography orthography, NSRange range)Deprecated.All NSLinguisticTagger API should be replaced with NaturalLanguage.framework APIvoidsetString(String v)Deprecated.All NSLinguisticTagger API should be replaced with NaturalLanguage.framework APIvoidstringEditedInRange(NSRange newRange, long delta)Deprecated.All NSLinguisticTagger API should be replaced with NaturalLanguage.framework APIStringtagAtIndex(long charIndex, NSLinguisticTaggerUnit unit, String scheme, NSRange tokenRange)Deprecated.All NSLinguisticTagger API should be replaced with NaturalLanguage.framework APIstatic StringtagForString(String string, long charIndex, NSLinguisticTaggerUnit unit, String scheme, NSOrthography orthography, NSRange tokenRange)Deprecated.All NSLinguisticTagger API should be replaced with NaturalLanguage.framework APIstatic NSArray<NSString>tagsForString(String string, NSRange range, NSLinguisticTaggerUnit unit, String scheme, NSLinguisticTaggerOptions options, NSOrthography orthography, NSArray.NSArrayPtr<?> tokenRanges)Deprecated.All NSLinguisticTagger API should be replaced with NaturalLanguage.framework APINSArray<NSString>tagsInRange(NSRange range, NSLinguisticTaggerUnit unit, String scheme, NSLinguisticTaggerOptions options, NSArray.NSArrayPtr<?> tokenRanges)Deprecated.All NSLinguisticTagger API should be replaced with NaturalLanguage.framework APINSRangetokenRangeAtIndex(long charIndex, NSLinguisticTaggerUnit unit)Deprecated.All NSLinguisticTagger API should be replaced with NaturalLanguage.framework APIMethods inherited from class org.robovm.apple.foundation.NSObject
addKeyValueObserver, addKeyValueObserver, afterMarshaled, alloc, autorelease, autorelease, awakeFromNib, conformsToProtocol, copy, description, didChangeValue, didChangeValue, didChangeValues, doDispose, equals, forceSkipInit, getAutoContentAccessingProxy, getClassForCoder, getClassForKeyedArchiver, getKeyValueCoder, getObservationInfo, hash, hashCode, init, isEqual, isKindOfClass, isMemberOfClass, mutableCopy, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelectorInBackground, performSelectorOnMainThread, performSelectorOnMainThread, performSelectorV, performSelectorV, performSelectorV, release, release, removeKeyValueObserver, removeKeyValueObservers, respondsToSelector, retain, retain, retainCount, setObservationInfo, toString, willChangeValue, willChangeValue, willChangeValuesMethods inherited from class org.robovm.objc.ObjCObject
addStrongRef, dispose, dispose, finalize, getAssociatedObject, getObjCClass, getPeerObject, getSuper, initObject, logRetainRelease, removeStrongRef, retainCustomObjectFromCb, setAssociatedObject, toObjCObject, toObjCObject, updateStrongRefMethods inherited from class org.robovm.rt.bro.NativeObject
as, getHandle, setHandle
-
Constructor Details
-
NSLinguisticTagger
public NSLinguisticTagger()Deprecated. -
NSLinguisticTagger
Deprecated. -
NSLinguisticTagger
Deprecated. -
NSLinguisticTagger
@Deprecated public NSLinguisticTagger(List<NSLinguisticTagScheme> tagSchemes, NSLinguisticTaggerOptions opts)Deprecated.All NSLinguisticTagger API should be replaced with NaturalLanguage.framework API
-
-
Method Details
-
getTagSchemes
Deprecated.All NSLinguisticTagger API should be replaced with NaturalLanguage.framework API -
getString
Deprecated.All NSLinguisticTagger API should be replaced with NaturalLanguage.framework API -
setString
Deprecated.All NSLinguisticTagger API should be replaced with NaturalLanguage.framework API -
getDominantLanguage
Deprecated.All NSLinguisticTagger API should be replaced with NaturalLanguage.framework API- Since:
- Available in iOS 11.0 and later.
-
getTags
public List<NSLinguisticTag> getTags(NSRange range, NSLinguisticTagScheme tagScheme, NSLinguisticTaggerOptions opts)Deprecated.- Since:
- Available in iOS 5.0 and later.
-
getTagRanges
public List<NSRange> getTagRanges(NSRange range, NSLinguisticTagScheme tagScheme, NSLinguisticTaggerOptions opts)Deprecated.- Since:
- Available in iOS 5.0 and later.
-
getPossibleTags
public List<NSLinguisticTag> getPossibleTags(long charIndex, NSLinguisticTagScheme tagScheme, NSRange tokenRange, NSRange sentenceRange)Deprecated.- Since:
- Available in iOS 5.0 and later.
-
getPossibleTagScores
public List<Long> getPossibleTagScores(long charIndex, NSLinguisticTagScheme tagScheme, NSRange tokenRange, NSRange sentenceRange)Deprecated.- Since:
- Available in iOS 5.0 and later.
-
init
@Deprecated protected long init(List<NSLinguisticTagScheme> tagSchemes, NSLinguisticTaggerOptions opts)Deprecated.All NSLinguisticTagger API should be replaced with NaturalLanguage.framework API -
setOrthography
Deprecated.All NSLinguisticTagger API should be replaced with NaturalLanguage.framework API -
getOrthography
Deprecated.All NSLinguisticTagger API should be replaced with NaturalLanguage.framework API -
stringEditedInRange
Deprecated.All NSLinguisticTagger API should be replaced with NaturalLanguage.framework API -
tokenRangeAtIndex
Deprecated.All NSLinguisticTagger API should be replaced with NaturalLanguage.framework API- Since:
- Available in iOS 11.0 and later.
-
getSentenceRange
Deprecated.All NSLinguisticTagger API should be replaced with NaturalLanguage.framework API -
enumerateTagsInRange
@Deprecated public void enumerateTagsInRange(NSRange range, NSLinguisticTaggerUnit unit, String scheme, NSLinguisticTaggerOptions options, VoidBlock3<String,NSRange,BooleanPtr> block)Deprecated.All NSLinguisticTagger API should be replaced with NaturalLanguage.framework API- Since:
- Available in iOS 11.0 and later.
-
tagAtIndex
@Deprecated public String tagAtIndex(long charIndex, NSLinguisticTaggerUnit unit, String scheme, NSRange tokenRange)Deprecated.All NSLinguisticTagger API should be replaced with NaturalLanguage.framework API- Since:
- Available in iOS 11.0 and later.
-
tagsInRange
@Deprecated public NSArray<NSString> tagsInRange(NSRange range, NSLinguisticTaggerUnit unit, String scheme, NSLinguisticTaggerOptions options, NSArray.NSArrayPtr<?> tokenRanges)Deprecated.All NSLinguisticTagger API should be replaced with NaturalLanguage.framework API- Since:
- Available in iOS 11.0 and later.
-
enumerateTagsInRange
@Deprecated public void enumerateTagsInRange(NSRange range, NSLinguisticTagScheme tagScheme, NSLinguisticTaggerOptions opts, VoidBlock4<NSLinguisticTag,NSRange,NSRange,BooleanPtr> block)Deprecated.All NSLinguisticTagger API should be replaced with NaturalLanguage.framework API -
getTag
@Deprecated public String getTag(long charIndex, String scheme, NSRange tokenRange, NSRange sentenceRange)Deprecated.All NSLinguisticTagger API should be replaced with NaturalLanguage.framework API -
getTags
@Deprecated protected List<NSLinguisticTag> getTags(NSRange range, NSLinguisticTagScheme tagScheme, NSLinguisticTaggerOptions opts, NSArray.NSArrayPtr<?> tokenRanges)Deprecated.All NSLinguisticTagger API should be replaced with NaturalLanguage.framework API -
getPossibleTags
@Deprecated protected List<NSLinguisticTag> getPossibleTags(long charIndex, NSLinguisticTagScheme tagScheme, NSRange tokenRange, NSRange sentenceRange, NSArray.NSArrayPtr<?> scores)Deprecated.All NSLinguisticTagger API should be replaced with NaturalLanguage.framework API -
availableTagSchemesForUnit
@Deprecated public static NSArray<NSString> availableTagSchemesForUnit(NSLinguisticTaggerUnit unit, String language)Deprecated.All NSLinguisticTagger API should be replaced with NaturalLanguage.framework API- Since:
- Available in iOS 11.0 and later.
-
getAvailableTagSchemes
Deprecated.All NSLinguisticTagger API should be replaced with NaturalLanguage.framework API -
dominantLanguageForString
Deprecated.All NSLinguisticTagger API should be replaced with NaturalLanguage.framework API- Since:
- Available in iOS 11.0 and later.
-
tagForString
@Deprecated public static String tagForString(String string, long charIndex, NSLinguisticTaggerUnit unit, String scheme, NSOrthography orthography, NSRange tokenRange)Deprecated.All NSLinguisticTagger API should be replaced with NaturalLanguage.framework API- Since:
- Available in iOS 11.0 and later.
-
tagsForString
@Deprecated public static NSArray<NSString> tagsForString(String string, NSRange range, NSLinguisticTaggerUnit unit, String scheme, NSLinguisticTaggerOptions options, NSOrthography orthography, NSArray.NSArrayPtr<?> tokenRanges)Deprecated.All NSLinguisticTagger API should be replaced with NaturalLanguage.framework API- Since:
- Available in iOS 11.0 and later.
-
enumerateTagsForString
@Deprecated public static void enumerateTagsForString(String string, NSRange range, NSLinguisticTaggerUnit unit, String scheme, NSLinguisticTaggerOptions options, NSOrthography orthography, VoidBlock3<String,NSRange,BooleanPtr> block)Deprecated.All NSLinguisticTagger API should be replaced with NaturalLanguage.framework API- Since:
- Available in iOS 11.0 and later.
-