cc.factorie.tutorial.WordSegmenter

Sentence

class Sentence extends Chain[Sentence, Token]

Linear Supertypes
Chain[Sentence, Token], IndexedSeqSimilar[Token], SeqSimilar[Token], variable.ElementType[Token], Iterable[Token], IterableLike[Token, Iterable[Token]], Equals, GenIterable[Token], GenIterableLike[Token, Iterable[Token]], Traversable[Token], GenTraversable[Token], GenericTraversableTemplate[Token, Iterable], TraversableLike[Token, Iterable[Token]], GenTraversableLike[Token, Iterable[Token]], Parallelizable[Token, ParIterable[Token]], TraversableOnce[Token], GenTraversableOnce[Token], FilterMonadic[Token, Iterable[Token]], HasNewBuilder[Token, Iterable[Token]], variable.ThisType[Sentence], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Sentence
  2. Chain
  3. IndexedSeqSimilar
  4. SeqSimilar
  5. ElementType
  6. Iterable
  7. IterableLike
  8. Equals
  9. GenIterable
  10. GenIterableLike
  11. Traversable
  12. GenTraversable
  13. GenericTraversableTemplate
  14. TraversableLike
  15. GenTraversableLike
  16. Parallelizable
  17. TraversableOnce
  18. GenTraversableOnce
  19. FilterMonadic
  20. HasNewBuilder
  21. ThisType
  22. AnyRef
  23. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Sentence()

Type Members

  1. type ElementType = Token

    Definition Classes
    ElementType
  2. type Self = Iterable[Token]

    Attributes
    protected
    Definition Classes
    TraversableLike
  3. type ThisType = Sentence

    Definition Classes
    ThisType
  4. type Value = IndexedSeq[Token]

    Definition Classes
    Chain
  5. class WithFilter extends FilterMonadic[A, Repr]

    Definition Classes
    TraversableLike

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. def ++[B >: Token, That](that: GenTraversableOnce[B])(implicit bf: CanBuildFrom[Iterable[Token], B, That]): That

    Definition Classes
    TraversableLike → GenTraversableLike
  5. def ++:[B >: Token, That](that: Traversable[B])(implicit bf: CanBuildFrom[Iterable[Token], B, That]): That

    Definition Classes
    TraversableLike
  6. def ++:[B >: Token, That](that: TraversableOnce[B])(implicit bf: CanBuildFrom[Iterable[Token], B, That]): That

    Definition Classes
    TraversableLike
  7. def ++=(es: Iterable[Token]): Sentence.this.type

    Definition Classes
    Chain
  8. def +=(e: Token): Sentence.this.type

    Definition Classes
    Chain
  9. def /:[B](z: B)(op: (B, Token) ⇒ B): B

    Definition Classes
    TraversableOnce → GenTraversableOnce
  10. def :\[B](z: B)(op: (Token, B) ⇒ B): B

    Definition Classes
    TraversableOnce → GenTraversableOnce
  11. final def ==(arg0: AnyRef): Boolean

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

    Definition Classes
    Any
  13. def addString(b: StringBuilder): StringBuilder

    Definition Classes
    TraversableOnce
  14. def addString(b: StringBuilder, sep: String): StringBuilder

    Definition Classes
    TraversableOnce
  15. def addString(b: StringBuilder, start: String, sep: String, end: String): StringBuilder

    Definition Classes
    TraversableOnce
  16. def aggregate[B](z: B)(seqop: (B, Token) ⇒ B, combop: (B, B) ⇒ B): B

    Definition Classes
    TraversableOnce → GenTraversableOnce
  17. def apply(i: Int): Token

    Definition Classes
    ChainSeqSimilar
  18. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  19. def asSeq: IndexedSeq[Token]

    Definition Classes
    Chain
  20. def canEqual(that: Any): Boolean

    Definition Classes
    IterableLike → Equals
  21. def chainFreeze(): Unit

    Definition Classes
    Chain
  22. def chainFrozen: Boolean

    Definition Classes
    Chain
  23. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. def collect[B, That](pf: PartialFunction[Token, B])(implicit bf: CanBuildFrom[Iterable[Token], B, That]): That

    Definition Classes
    TraversableLike → GenTraversableLike
  25. def collectFirst[B](pf: PartialFunction[Token, B]): Option[B]

    Definition Classes
    TraversableOnce
  26. def companion: GenericCompanion[Iterable]

    Definition Classes
    Iterable → GenIterable → Traversable → GenTraversable → GenericTraversableTemplate
  27. def contains(elem: Any): Boolean

    Definition Classes
    SeqSimilar
  28. def copyToArray[B >: Token](xs: Array[B], start: Int, len: Int): Unit

    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  29. def copyToArray[B >: Token](xs: Array[B]): Unit

    Definition Classes
    TraversableOnce → GenTraversableOnce
  30. def copyToArray[B >: Token](xs: Array[B], start: Int): Unit

    Definition Classes
    TraversableOnce → GenTraversableOnce
  31. def copyToBuffer[B >: Token](dest: Buffer[B]): Unit

    Definition Classes
    TraversableOnce
  32. def count(p: (Token) ⇒ Boolean): Int

    Definition Classes
    TraversableOnce → GenTraversableOnce
  33. def drop(n: Int): Iterable[Token]

    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  34. def dropRight(n: Int): Iterable[Token]

    Definition Classes
    IterableLike
  35. def dropWhile(p: (Token) ⇒ Boolean): Iterable[Token]

    Definition Classes
    TraversableLike → GenTraversableLike
  36. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  37. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  38. def exists(f: (Token) ⇒ Boolean): Boolean

    Definition Classes
    SeqSimilar → IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  39. def filter(p: (Token) ⇒ Boolean): Iterable[Token]

    Definition Classes
    TraversableLike → GenTraversableLike
  40. def filterNot(p: (Token) ⇒ Boolean): Iterable[Token]

    Definition Classes
    TraversableLike → GenTraversableLike
  41. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  42. def find(p: (Token) ⇒ Boolean): Option[Token]

    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  43. def flatMap[B, That](f: (Token) ⇒ GenTraversableOnce[B])(implicit bf: CanBuildFrom[Iterable[Token], B, That]): That

    Definition Classes
    TraversableLike → GenTraversableLike → FilterMonadic
  44. def flatten[B](implicit asTraversable: (Token) ⇒ GenTraversableOnce[B]): Iterable[B]

    Definition Classes
    GenericTraversableTemplate
  45. def fold[A1 >: Token](z: A1)(op: (A1, A1) ⇒ A1): A1

    Definition Classes
    TraversableOnce → GenTraversableOnce
  46. def foldLeft[B](z: B)(op: (B, Token) ⇒ B): B

    Definition Classes
    TraversableOnce → GenTraversableOnce
  47. def foldRight[B](z: B)(op: (Token, B) ⇒ B): B

    Definition Classes
    IterableLike → TraversableOnce → GenTraversableOnce
  48. def forall(p: (Token) ⇒ Boolean): Boolean

    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  49. def foreach[U](f: (Token) ⇒ U): Unit

    Definition Classes
    SeqSimilar → IterableLike → GenericTraversableTemplate → TraversableLike → GenTraversableLike → TraversableOnce → GenTraversableOnce → FilterMonadic
  50. def genericBuilder[B]: Builder[B, Iterable[B]]

    Definition Classes
    GenericTraversableTemplate
  51. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  52. def groupBy[K](f: (Token) ⇒ K): Map[K, Iterable[Token]]

    Definition Classes
    TraversableLike → GenTraversableLike
  53. def grouped(size: Int): Iterator[Iterable[Token]]

    Definition Classes
    IterableLike
  54. def hasDefiniteSize: Boolean

    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
  55. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  56. def head: Token

    Definition Classes
    SeqSimilar → IterableLike → GenericTraversableTemplate → TraversableLike → GenTraversableLike
  57. def headOption: Option[Token]

    Definition Classes
    TraversableLike → GenTraversableLike
  58. def indexOf[B >: Token](elem: B, from: Int): Int

    Definition Classes
    SeqSimilar
  59. def indexOf[B >: Token](elem: B): Int

    Definition Classes
    SeqSimilar
  60. def indexWhere(p: (Token) ⇒ Boolean): Int

    Definition Classes
    SeqSimilar
  61. def indexWhere(p: (Token) ⇒ Boolean, from: Int): Int

    Definition Classes
    SeqSimilar
  62. def init: Iterable[Token]

    Definition Classes
    TraversableLike → GenTraversableLike
  63. def inits: Iterator[Iterable[Token]]

    Definition Classes
    TraversableLike
  64. def insert(i: Int, e: Token): Sentence.this.type

    Use with caution, since this would invalidate indices stored elsewhere

    Use with caution, since this would invalidate indices stored elsewhere

    Definition Classes
    Chain
  65. def isEmpty: Boolean

    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  66. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  67. final def isTraversableAgain: Boolean

    Definition Classes
    TraversableLike → GenTraversableLike → GenTraversableOnce
  68. def iterator: Iterator[Token]

    Definition Classes
    SeqSimilar → IterableLike → GenIterableLike
  69. def last: Token

    Definition Classes
    SeqSimilar → TraversableLike → GenTraversableLike
  70. def lastOption: Option[Token]

    Definition Classes
    TraversableLike → GenTraversableLike
  71. def length: Int

    Definition Classes
    ChainSeqSimilar
  72. final def links: IndexedSeq[Token]

    Definition Classes
    Chain
    Annotations
    @inline()
  73. def map[B](f: (Token) ⇒ B): IndexedSeq[B]

    Definition Classes
    IndexedSeqSimilarSeqSimilar
  74. def map[B, That](f: (Token) ⇒ B)(implicit bf: CanBuildFrom[Iterable[Token], B, That]): That

    Definition Classes
    TraversableLike → GenTraversableLike → FilterMonadic
  75. def max[B >: Token](implicit cmp: Ordering[B]): Token

    Definition Classes
    TraversableOnce → GenTraversableOnce
  76. def maxBy[B](f: (Token) ⇒ B)(implicit cmp: Ordering[B]): Token

    Definition Classes
    TraversableOnce → GenTraversableOnce
  77. def min[B >: Token](implicit cmp: Ordering[B]): Token

    Definition Classes
    TraversableOnce → GenTraversableOnce
  78. def minBy[B](f: (Token) ⇒ B)(implicit cmp: Ordering[B]): Token

    Definition Classes
    TraversableOnce → GenTraversableOnce
  79. def mkString: String

    Definition Classes
    TraversableOnce → GenTraversableOnce
  80. def mkString(sep: String): String

    Definition Classes
    TraversableOnce → GenTraversableOnce
  81. def mkString(start: String, sep: String, end: String): String

    Definition Classes
    TraversableOnce → GenTraversableOnce
  82. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  83. def newBuilder: Builder[Token, Iterable[Token]]

    Attributes
    protected[this]
    Definition Classes
    GenericTraversableTemplate → HasNewBuilder
  84. def nonEmpty: Boolean

    Definition Classes
    TraversableOnce → GenTraversableOnce
  85. final def notify(): Unit

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

    Definition Classes
    AnyRef
  87. def par: ParIterable[Token]

    Definition Classes
    Parallelizable
  88. def parCombiner: Combiner[Token, ParIterable[Token]]

    Attributes
    protected[this]
    Definition Classes
    TraversableLike → Parallelizable
  89. def partition(p: (Token) ⇒ Boolean): (Iterable[Token], Iterable[Token])

    Definition Classes
    TraversableLike → GenTraversableLike
  90. def product[B >: Token](implicit num: Numeric[B]): B

    Definition Classes
    TraversableOnce → GenTraversableOnce
  91. def reduce[A1 >: Token](op: (A1, A1) ⇒ A1): A1

    Definition Classes
    TraversableOnce → GenTraversableOnce
  92. def reduceLeft[B >: Token](op: (B, Token) ⇒ B): B

    Definition Classes
    TraversableOnce
  93. def reduceLeftOption[B >: Token](op: (B, Token) ⇒ B): Option[B]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  94. def reduceOption[A1 >: Token](op: (A1, A1) ⇒ A1): Option[A1]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  95. def reduceRight[B >: Token](op: (Token, B) ⇒ B): B

    Definition Classes
    IterableLike → TraversableOnce → GenTraversableOnce
  96. def reduceRightOption[B >: Token](op: (Token, B) ⇒ B): Option[B]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  97. def remove(i: Int): Sentence.this.type

    Use with caution, since this would invalidate indices stored elsewhere

    Use with caution, since this would invalidate indices stored elsewhere

    Definition Classes
    Chain
  98. def repr: Iterable[Token]

    Definition Classes
    TraversableLike → GenTraversableLike
  99. def reversed: List[Token]

    Attributes
    protected[this]
    Definition Classes
    TraversableOnce
  100. def sameElements[B >: Token](that: GenIterable[B]): Boolean

    Definition Classes
    IterableLike → GenIterableLike
  101. def scan[B >: Token, That](z: B)(op: (B, B) ⇒ B)(implicit cbf: CanBuildFrom[Iterable[Token], B, That]): That

    Definition Classes
    TraversableLike → GenTraversableLike
  102. def scanLeft[B, That](z: B)(op: (B, Token) ⇒ B)(implicit bf: CanBuildFrom[Iterable[Token], B, That]): That

    Definition Classes
    TraversableLike → GenTraversableLike
  103. def scanRight[B, That](z: B)(op: (Token, B) ⇒ B)(implicit bf: CanBuildFrom[Iterable[Token], B, That]): That

    Definition Classes
    TraversableLike → GenTraversableLike
    Annotations
    @migration
    Migration

    (Changed in version 2.9.0) The behavior of scanRight has changed. The previous behavior can be reproduced with scanRight.reverse.

  104. def seq: Iterable[Token]

    Definition Classes
    Iterable → GenIterable → Traversable → GenTraversable → Parallelizable → TraversableOnce → GenTraversableOnce
  105. def size: Int

    Definition Classes
    TraversableOnce → GenTraversableOnce
  106. def slice(from: Int, until: Int): Iterable[Token]

    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  107. def sliding(size: Int, step: Int): Iterator[Iterable[Token]]

    Definition Classes
    IterableLike
  108. def sliding(size: Int): Iterator[Iterable[Token]]

    Definition Classes
    IterableLike
  109. def span(p: (Token) ⇒ Boolean): (Iterable[Token], Iterable[Token])

    Definition Classes
    TraversableLike → GenTraversableLike
  110. def splitAt(n: Int): (Iterable[Token], Iterable[Token])

    Definition Classes
    TraversableLike → GenTraversableLike
  111. def stringPrefix: String

    Definition Classes
    TraversableLike → GenTraversableLike
  112. def sum[B >: Token](implicit num: Numeric[B]): B

    Definition Classes
    TraversableOnce → GenTraversableOnce
  113. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  114. def tail: Iterable[Token]

    Definition Classes
    TraversableLike → GenTraversableLike
  115. def tails: Iterator[Iterable[Token]]

    Definition Classes
    TraversableLike
  116. def take(n: Int): Iterable[Token]

    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  117. def takeRight(n: Int): Iterable[Token]

    Definition Classes
    IterableLike
  118. def takeWhile(p: (Token) ⇒ Boolean): Iterable[Token]

    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  119. def thisCollection: Iterable[Token]

    Attributes
    protected[this]
    Definition Classes
    IterableLike → TraversableLike
  120. def to[Col[_]](implicit cbf: CanBuildFrom[Nothing, Token, Col[Token]]): Col[Token]

    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
  121. def toArray[B >: Token](implicit arg0: ClassTag[B]): Array[B]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  122. def toBuffer[B >: Token]: Buffer[B]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  123. def toCollection(repr: Iterable[Token]): Iterable[Token]

    Attributes
    protected[this]
    Definition Classes
    IterableLike → TraversableLike
  124. def toIndexedSeq: IndexedSeq[Token]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  125. def toIterable: Iterable[Token]

    Definition Classes
    IterableLike → TraversableOnce → GenTraversableOnce
  126. def toIterator: Iterator[Token]

    Definition Classes
    IterableLike → TraversableLike → GenTraversableOnce
  127. def toList: List[Token]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  128. def toMap[T, U](implicit ev: <:<[Token, (T, U)]): Map[T, U]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  129. def toSeq: IndexedSeq[Token]

    Definition Classes
    IndexedSeqSimilarSeqSimilar → TraversableOnce → GenTraversableOnce
  130. def toSet[B >: Token]: Set[B]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  131. def toStream: Stream[Token]

    Definition Classes
    IterableLike → TraversableLike → GenTraversableOnce
  132. def toString(): String

    Definition Classes
    TraversableLike → Any
  133. def toTraversable: Traversable[Token]

    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
  134. def toVector: Vector[Token]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  135. def transpose[B](implicit asTraversable: (Token) ⇒ GenTraversableOnce[B]): Iterable[Iterable[B]]

    Definition Classes
    GenericTraversableTemplate
    Annotations
    @migration
    Migration

    (Changed in version 2.9.0) transpose throws an IllegalArgumentException if collections are not uniformly sized.

  136. def unzip[A1, A2](implicit asPair: (Token) ⇒ (A1, A2)): (Iterable[A1], Iterable[A2])

    Definition Classes
    GenericTraversableTemplate
  137. def unzip3[A1, A2, A3](implicit asTriple: (Token) ⇒ (A1, A2, A3)): (Iterable[A1], Iterable[A2], Iterable[A3])

    Definition Classes
    GenericTraversableTemplate
  138. def value: Value

    Definition Classes
    ChainIndexedSeqSimilarSeqSimilar
  139. def view(from: Int, until: Int): IterableView[Token, Iterable[Token]]

    Definition Classes
    IterableLike → TraversableLike
  140. def view: IterableView[Token, Iterable[Token]]

    Definition Classes
    IterableLike → TraversableLike
  141. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  144. def withFilter(p: (Token) ⇒ Boolean): FilterMonadic[Token, Iterable[Token]]

    Definition Classes
    TraversableLike → FilterMonadic
  145. def zip[A1 >: Token, B, That](that: GenIterable[B])(implicit bf: CanBuildFrom[Iterable[Token], (A1, B), That]): That

    Definition Classes
    IterableLike → GenIterableLike
  146. def zipAll[B, A1 >: Token, That](that: GenIterable[B], thisElem: A1, thatElem: B)(implicit bf: CanBuildFrom[Iterable[Token], (A1, B), That]): That

    Definition Classes
    IterableLike → GenIterableLike
  147. def zipWithIndex[A1 >: Token, That](implicit bf: CanBuildFrom[Iterable[Token], (A1, Int), That]): That

    Definition Classes
    IterableLike → GenIterableLike

Deprecated Value Members

  1. def /:\[A1 >: Token](z: A1)(op: (A1, A1) ⇒ A1): A1

    Definition Classes
    GenTraversableOnce
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) use fold instead

Inherited from Chain[Sentence, Token]

Inherited from IndexedSeqSimilar[Token]

Inherited from SeqSimilar[Token]

Inherited from variable.ElementType[Token]

Inherited from Iterable[Token]

Inherited from IterableLike[Token, Iterable[Token]]

Inherited from Equals

Inherited from GenIterable[Token]

Inherited from GenIterableLike[Token, Iterable[Token]]

Inherited from Traversable[Token]

Inherited from GenTraversable[Token]

Inherited from GenericTraversableTemplate[Token, Iterable]

Inherited from TraversableLike[Token, Iterable[Token]]

Inherited from GenTraversableLike[Token, Iterable[Token]]

Inherited from Parallelizable[Token, ParIterable[Token]]

Inherited from TraversableOnce[Token]

Inherited from GenTraversableOnce[Token]

Inherited from FilterMonadic[Token, Iterable[Token]]

Inherited from HasNewBuilder[Token, Iterable[Token]]

Inherited from variable.ThisType[Sentence]

Inherited from AnyRef

Inherited from Any

Ungrouped