Class NLTagger

  • All Implemented Interfaces:
    NSObjectProtocol, org.robovm.objc.ObjCProtocol

    public class NLTagger
    extends NSObject
    Since:
    Available in iOS 12.0 and later.
    • Constructor Detail

      • NLTagger

        public NLTagger()
      • NLTagger

        public NLTagger​(NSArray<?> tagSchemes)
        Since:
        Available in iOS 12.0 and later.
    • Method Detail

      • getTagSchemes

        public NSArray<?> getTagSchemes()
        Since:
        Available in iOS 12.0 and later.
      • getString

        public java.lang.String getString()
        Since:
        Available in iOS 12.0 and later.
      • setString

        public void setString​(java.lang.String v)
        Since:
        Available in iOS 12.0 and later.
      • getDominantLanguage

        public NLLanguage getDominantLanguage()
        Since:
        Available in iOS 12.0 and later.
      • init

        protected long init​(NSArray<?> tagSchemes)
        Since:
        Available in iOS 12.0 and later.
      • getTokenRange

        public NSRange getTokenRange​(long characterIndex,
                                     NLTokenUnit unit)
        Since:
        Available in iOS 12.0 and later.
      • setLanguage

        public void setLanguage​(NLLanguage language,
                                NSRange range)
        Since:
        Available in iOS 12.0 and later.
      • setOrthography

        public void setOrthography​(NSOrthography orthography,
                                   NSRange range)
        Since:
        Available in iOS 12.0 and later.
      • getAvailableTagSchemes

        public static NSArray<?> getAvailableTagSchemes​(NLTokenUnit unit,
                                                        NLLanguage language)
        Since:
        Available in iOS 12.0 and later.