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
Ordering
- Alphabetic
- By Inheritance
Inherited
- TaggedSequence
- Product
- Equals
- Example
- Labeled
- Observation
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new TaggedSequence(tags: IndexedSeq[L], words: IndexedSeq[W], id: String = "")
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def asSegmentation: Segmentation[L, W]
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
features: IndexedSeq[W]
- Definition Classes
- TaggedSequence → Observation
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
val
id: String
- Definition Classes
- TaggedSequence → Example → Observation
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
label: IndexedSeq[L]
- Definition Classes
- TaggedSequence → Example → Labeled
- def length: Int
-
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
- Example → Observation
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- def pairs: IndexedSeq[(L, W)]
-
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
- def render: String
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val tags: IndexedSeq[L]
-
def
toString(): String
- Definition Classes
- Example → Observation → AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- val words: IndexedSeq[W]