Class NSLinguisticTaggerUnit


  • public final class NSLinguisticTaggerUnit
    extends java.lang.Object
    NSLinguisticTaggerUnit specifes the size of units in a string to which tagging applies. The tagging unit may be word, sentence, paragraph, or document. Methods that do not specify a unit act at the word level. Not all combinations of scheme and unit are supported; clients can use +availableTagSchemesForUnit:language: to determine which ones are.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static long Document
      Token unit is the entire string
      static long Paragraph
      Token units are at paragraph level
      static long Sentence
      Token units are at sentence level
      static long Word
      Token units are at word or equivalent level
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • Word

        public static final long Word
        Token units are at word or equivalent level
        See Also:
        Constant Field Values
      • Sentence

        public static final long Sentence
        Token units are at sentence level
        See Also:
        Constant Field Values
      • Paragraph

        public static final long Paragraph
        Token units are at paragraph level
        See Also:
        Constant Field Values
      • Document

        public static final long Document
        Token unit is the entire string
        See Also:
        Constant Field Values