org.allenai.nlpstack.core

PostaggedToken

Related Docs: object PostaggedToken | package core

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)

    postagSymbol

    the PENN-style part-of-speech tag of the token

    string

    the string of the token

    offset

    the character offset of the token in the source sentence

Value Members

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

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

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

  6. def canEqual(that: Token): Boolean

    Definition Classes
    Token
  7. def clone(): AnyRef

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

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

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

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

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

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

  14. def isAdverb: Boolean

  15. def isCardinalNumber: Boolean

  16. def isCommonNoun: Boolean

  17. def isComparativeAdjective: Boolean

  18. def isComparativeAdverb: 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 isPlainAdverb: Boolean

  27. def isPluralNoun: Boolean

  28. def isPossessive: Boolean

  29. def isPossessivePronoun: Boolean

  30. def isPreposition: Boolean

  31. def isPronoun: Boolean

  32. def isProperNoun: Boolean

  33. def isPunctuation: Boolean

  34. def isSubordinatingConjunction: Boolean

  35. def isSuperlativeAdjective: Boolean

  36. def isSuperlativeAdverb: Boolean

  37. def isVerb: Boolean

  38. def isVerb3pPresent: Boolean

  39. def isVerbBase: Boolean

  40. def isVerbGerund: Boolean

  41. def isVerbNon3pPresent: Boolean

  42. def isVerbPast: Boolean

  43. def isVerbPastParticiple: Boolean

  44. def isVerbPresent: Boolean

  45. def isWhAdverb: Boolean

  46. def isWhDeterminer: Boolean

  47. def isWhPossessivePronoun: Boolean

  48. def isWhPronoun: Boolean

  49. def isWhWord: Boolean

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

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

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

    Definition Classes
    AnyRef
  53. 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
  54. def offsets: Interval

    Definition Classes
    Token
  55. def postag: String

  56. val postagSymbol: Symbol

    the PENN-style part-of-speech tag of the token

  57. val punctuation: Set[String]

  58. val string: String

    the string of the token

    the string of the token

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

    Definition Classes
    AnyRef
  60. def toString(): String

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  63. 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