org.allenai.nlpstack.core

PostaggedToken

class PostaggedToken extends Token

A representation for a part-of-speech tagged token. POS tokens use PENN-treebank style tags.

Linear Supertypes
Token, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. PostaggedToken
  2. Token
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new PostaggedToken(postagSymbol: Symbol, string: String, offset: Int)

    string

    the string of the token

    offset

    the character offset of the token in the source sentence

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def canEqual(that: PostaggedToken): Boolean

  8. def canEqual(that: Token): Boolean

    Definition Classes
    Token
  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  11. def equals(that: Any): Boolean

    Definition Classes
    PostaggedTokenToken → AnyRef → Any
  12. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  14. def hashCode(): Int

    Definition Classes
    PostaggedTokenToken → AnyRef → Any
  15. def isAdjective: Boolean

  16. def isCardinalNumber: Boolean

  17. def isCommonNoun: Boolean

  18. def isComparativeAdjective: Boolean

  19. def isConjunction: Boolean

  20. def isCoordinatingConjunction: Boolean

  21. def isDeterminer: Boolean

  22. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  23. def isNoun: Boolean

  24. def isPersonalPronoun: Boolean

  25. def isPlainAdjective: Boolean

  26. def isPluralNoun: Boolean

  27. def isPossessive: Boolean

  28. def isPossessivePronoun: Boolean

  29. def isPreposition: Boolean

  30. def isPronoun: Boolean

  31. def isProperNoun: Boolean

  32. def isPunctuation: Boolean

  33. def isSubordinatingConjunction: Boolean

  34. def isSuperlativeAdjective: Boolean

  35. def isSuperlativeAdverb: Boolean

  36. def isVerb: Boolean

  37. def isVerb3pPresent: Boolean

  38. def isVerbBase: Boolean

  39. def isVerbGerund: Boolean

  40. def isVerbNon3pPresent: Boolean

  41. def isVerbPast: Boolean

  42. def isVerbPastParticiple: Boolean

  43. def isVerbPresent: Boolean

  44. def isWhAdverb: Boolean

  45. def isWhDeterminer: Boolean

  46. def isWhPossessivePronoun: Boolean

  47. def isWhPronoun: Boolean

  48. def isWhWord: Boolean

  49. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  50. final def notify(): Unit

    Definition Classes
    AnyRef
  51. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  52. val offset: Int

    the character offset of the token in the source sentence

    the character offset of the token in the source sentence

    Definition Classes
    PostaggedTokenToken
  53. def offsets: Interval

    Definition Classes
    Token
  54. def postag: String

  55. val postagSymbol: Symbol

  56. val punctuation: Set[String]

  57. val string: String

    the string of the token

    the string of the token

    Definition Classes
    PostaggedTokenToken
  58. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  59. def toString(): String

    Definition Classes
    PostaggedTokenToken → AnyRef → Any
  60. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  61. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  62. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def interval: Interval

    Definition Classes
    Token
    Annotations
    @deprecated
    Deprecated

    (Since version 2.4.0) Use offsets instead.

Inherited from Token

Inherited from AnyRef

Inherited from Any

Ungrouped