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)

    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 isCardinalNumber: Boolean

  15. def isCommonNoun: Boolean

  16. def isComparativeAdjective: Boolean

  17. def isConjunction: Boolean

  18. def isCoordinatingConjunction: Boolean

  19. def isDeterminer: Boolean

  20. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  21. def isNoun: Boolean

  22. def isPersonalPronoun: Boolean

  23. def isPlainAdjective: Boolean

  24. def isPluralNoun: Boolean

  25. def isPossessive: Boolean

  26. def isPossessivePronoun: Boolean

  27. def isPreposition: Boolean

  28. def isPronoun: Boolean

  29. def isProperNoun: Boolean

  30. def isPunctuation: Boolean

  31. def isSubordinatingConjunction: Boolean

  32. def isSuperlativeAdjective: Boolean

  33. def isSuperlativeAdverb: Boolean

  34. def isVerb: Boolean

  35. def isVerb3pPresent: Boolean

  36. def isVerbBase: Boolean

  37. def isVerbGerund: Boolean

  38. def isVerbNon3pPresent: Boolean

  39. def isVerbPast: Boolean

  40. def isVerbPastParticiple: Boolean

  41. def isVerbPresent: Boolean

  42. def isWhAdverb: Boolean

  43. def isWhDeterminer: Boolean

  44. def isWhPossessivePronoun: Boolean

  45. def isWhPronoun: Boolean

  46. def isWhWord: Boolean

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

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

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

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

    Definition Classes
    Token
  52. def postag: String

  53. val postagSymbol: Symbol

  54. val punctuation: Set[String]

  55. val string: String

    the string of the token

    the string of the token

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

    Definition Classes
    AnyRef
  57. def toString(): String

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

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

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