c

epic.sequences

TaggedSequence

case class TaggedSequence[+L, +W](tags: IndexedSeq[L], words: IndexedSeq[W], id: String = "") extends Example[IndexedSeq[L], IndexedSeq[W]] with Product with Serializable

A tagged sequence has a sequence of tags and a sequence of words that are in one-to-one correspondence. think POS tags etc.

Linear Supertypes
Product, Equals, Example[IndexedSeq[L], IndexedSeq[W]], Labeled[IndexedSeq[L]], Observation[IndexedSeq[W]], Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TaggedSequence
  2. Product
  3. Equals
  4. Example
  5. Labeled
  6. Observation
  7. Serializable
  8. Serializable
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TaggedSequence(tags: IndexedSeq[L], words: IndexedSeq[W], id: String = "")

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 asSegmentation: Segmentation[L, W]
  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate() @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def features: IndexedSeq[W]
    Definition Classes
    TaggedSequenceObservation
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  10. val id: String
    Definition Classes
    TaggedSequenceExampleObservation
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. def label: IndexedSeq[L]
    Definition Classes
    TaggedSequenceExampleLabeled
  13. def length: Int
  14. def map[U](f: (IndexedSeq[W]) ⇒ U): Example[IndexedSeq[L], U]

    Converts the features in this example to a different one while still preserving label and id.

    Converts the features in this example to a different one while still preserving label and id.

    Definition Classes
    ExampleObservation
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. def pairs: IndexedSeq[(L, W)]
  19. def relabel[L2](f: (IndexedSeq[L]) ⇒ L2): Example[L2, IndexedSeq[W]]

    Converts the label in this example to a different one while still preserving features and id.

    Converts the label in this example to a different one while still preserving features and id.

    Definition Classes
    Example
  20. def render: String
  21. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  22. val tags: IndexedSeq[L]
  23. def toString(): String
    Definition Classes
    ExampleObservation → AnyRef → Any
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. val words: IndexedSeq[W]

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Product

Inherited from Equals

Inherited from Example[IndexedSeq[L], IndexedSeq[W]]

Inherited from Labeled[IndexedSeq[L]]

Inherited from Observation[IndexedSeq[W]]

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped