cc.factorie.app.nlp.hcoref

BagOfWordsVariable

class BagOfWordsVariable extends BagOfWordsVar

Linear Supertypes
BagOfWordsVar, Iterable[(String, Double)], IterableLike[(String, Double), Iterable[(String, Double)]], Equals, GenIterable[(String, Double)], GenIterableLike[(String, Double), Iterable[(String, Double)]], Traversable[(String, Double)], GenTraversable[(String, Double)], GenericTraversableTemplate[(String, Double), Iterable], TraversableLike[(String, Double), Iterable[(String, Double)]], GenTraversableLike[(String, Double), Iterable[(String, Double)]], Parallelizable[(String, Double), ParIterable[(String, Double)]], TraversableOnce[(String, Double)], GenTraversableOnce[(String, Double)], FilterMonadic[(String, Double), Iterable[(String, Double)]], HasNewBuilder[(String, Double), Iterable[(String, Double)]], variable.Var, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. BagOfWordsVariable
  2. BagOfWordsVar
  3. Iterable
  4. IterableLike
  5. Equals
  6. GenIterable
  7. GenIterableLike
  8. Traversable
  9. GenTraversable
  10. GenericTraversableTemplate
  11. TraversableLike
  12. GenTraversableLike
  13. Parallelizable
  14. TraversableOnce
  15. GenTraversableOnce
  16. FilterMonadic
  17. HasNewBuilder
  18. Var
  19. AnyRef
  20. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new BagOfWordsVariable(initialWords: Iterable[String] = immutable.this.Nil, initialMap: Map[String, Double] = null)

Type Members

  1. case class BagOfWordsVariableAddBagDiff(added: BagOfWords) extends variable.Diff with Product with Serializable

  2. case class BagOfWordsVariableAddStringDiff(added: String, w: Double) extends variable.Diff with Product with Serializable

  3. case class BagOfWordsVariableRemoveBagDiff(removed: BagOfWords) extends variable.Diff with Product with Serializable

  4. case class BagOfWordsVariableRemoveStringDiff(removed: String, w: Double) extends variable.Diff with Product with Serializable

  5. type Self = Iterable[(String, Double)]

    Attributes
    protected
    Definition Classes
    TraversableLike
  6. type Value = SparseBagOfWords

    Definition Classes
    BagOfWordsVariableBagOfWordsVarVar
  7. 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. def !==(other: variable.Var): Boolean

    Definition Classes
    Var
  4. final def ##(): Int

    Definition Classes
    AnyRef → Any
  5. def ++[B >: (String, Double), That](that: GenTraversableOnce[B])(implicit bf: CanBuildFrom[Iterable[(String, Double)], B, That]): That

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

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

    Definition Classes
    TraversableLike
  8. final def ++=(xs: HashMap[String, Double]): Unit

  9. final def ++=(xs: Iterable[String]): Unit

  10. final def +=(x: BagOfWords): Unit

  11. final def +=(x: String, w: Double = 1.0): Unit

  12. final def --=(xs: HashMap[String, Double]): Unit

  13. final def --=(xs: Iterable[String]): Unit

  14. final def -=(x: BagOfWords): Unit

  15. final def -=(x: String, w: Double = 1.0): Unit

  16. def /:[B](z: B)(op: (B, (String, Double)) ⇒ B): B

    Definition Classes
    TraversableOnce → GenTraversableOnce
  17. def :\[B](z: B)(op: ((String, Double), B) ⇒ B): B

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

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

    Definition Classes
    Any
  20. def ===(other: variable.Var): Boolean

    Value comparisons (as distinct from variable pointer equality)

    Value comparisons (as distinct from variable pointer equality)

    Definition Classes
    Var
  21. val _members: SparseBagOfWords

    Attributes
    protected
  22. def accept(): Unit

  23. def add(x: BagOfWords)(implicit d: variable.DiffList): Unit

  24. def add(x: String, w: Double = 1.0)(implicit d: variable.DiffList): Unit

  25. def addString(b: StringBuilder): StringBuilder

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

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

    Definition Classes
    TraversableOnce
  28. def aggregate[B](z: B)(seqop: (B, (String, Double)) ⇒ B, combop: (B, B) ⇒ B): B

    Definition Classes
    TraversableOnce → GenTraversableOnce
  29. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  30. def canEqual(that: Any): Boolean

    Definition Classes
    IterableLike → Equals
  31. def clear(): Unit

  32. def clone(): AnyRef

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

    Definition Classes
    TraversableLike → GenTraversableLike
  34. def collectFirst[B](pf: PartialFunction[(String, Double), B]): Option[B]

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

    Definition Classes
    Iterable → GenIterable → Traversable → GenTraversable → GenericTraversableTemplate
  36. def contains(x: String): Boolean

  37. def copyToArray[B >: (String, Double)](xs: Array[B], start: Int, len: Int): Unit

    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  38. def copyToArray[B >: (String, Double)](xs: Array[B]): Unit

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

    Definition Classes
    TraversableOnce → GenTraversableOnce
  40. def copyToBuffer[B >: (String, Double)](dest: Buffer[B]): Unit

    Definition Classes
    TraversableOnce
  41. def count(p: ((String, Double)) ⇒ Boolean): Int

    Definition Classes
    TraversableOnce → GenTraversableOnce
  42. def drop(n: Int): Iterable[(String, Double)]

    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  43. def dropRight(n: Int): Iterable[(String, Double)]

    Definition Classes
    IterableLike
  44. def dropWhile(p: ((String, Double)) ⇒ Boolean): Iterable[(String, Double)]

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

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

    Definition Classes
    AnyRef → Any
  47. def exists(p: ((String, Double)) ⇒ Boolean): Boolean

    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  48. def filter(p: ((String, Double)) ⇒ Boolean): Iterable[(String, Double)]

    Definition Classes
    TraversableLike → GenTraversableLike
  49. def filterNot(p: ((String, Double)) ⇒ Boolean): Iterable[(String, Double)]

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

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

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

    Definition Classes
    TraversableLike → GenTraversableLike → FilterMonadic
  53. def flatten[B](implicit asTraversable: ((String, Double)) ⇒ GenTraversableOnce[B]): Iterable[B]

    Definition Classes
    GenericTraversableTemplate
  54. def fold[A1 >: (String, Double)](z: A1)(op: (A1, A1) ⇒ A1): A1

    Definition Classes
    TraversableOnce → GenTraversableOnce
  55. def foldLeft[B](z: B)(op: (B, (String, Double)) ⇒ B): B

    Definition Classes
    TraversableOnce → GenTraversableOnce
  56. def foldRight[B](z: B)(op: ((String, Double), B) ⇒ B): B

    Definition Classes
    IterableLike → TraversableOnce → GenTraversableOnce
  57. def forall(p: ((String, Double)) ⇒ Boolean): Boolean

    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  58. def foreach[U](f: ((String, Double)) ⇒ U): Unit

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

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

    Definition Classes
    AnyRef → Any
  61. def groupBy[K](f: ((String, Double)) ⇒ K): Map[K, Iterable[(String, Double)]]

    Definition Classes
    TraversableLike → GenTraversableLike
  62. def grouped(size: Int): Iterator[Iterable[(String, Double)]]

    Definition Classes
    IterableLike
  63. def hasDefiniteSize: Boolean

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

    Definition Classes
    AnyRef → Any
  65. def head: (String, Double)

    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  66. def headOption: Option[(String, Double)]

    Definition Classes
    TraversableLike → GenTraversableLike
  67. def init: Iterable[(String, Double)]

    Definition Classes
    TraversableLike → GenTraversableLike
  68. def inits: Iterator[Iterable[(String, Double)]]

    Definition Classes
    TraversableLike
  69. def isEmpty: Boolean

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

    Definition Classes
    Any
  71. final def isTraversableAgain: Boolean

    Definition Classes
    TraversableLike → GenTraversableLike → GenTraversableOnce
  72. def iterator: Iterator[(String, Double)]

    Definition Classes
    BagOfWordsVariable → IterableLike → GenIterableLike
  73. def last: (String, Double)

    Definition Classes
    TraversableLike → GenTraversableLike
  74. def lastOption: Option[(String, Double)]

    Definition Classes
    TraversableLike → GenTraversableLike
  75. def map[B, That](f: ((String, Double)) ⇒ B)(implicit bf: CanBuildFrom[Iterable[(String, Double)], B, That]): That

    Definition Classes
    TraversableLike → GenTraversableLike → FilterMonadic
  76. def max[B >: (String, Double)](implicit cmp: Ordering[B]): (String, Double)

    Definition Classes
    TraversableOnce → GenTraversableOnce
  77. def maxBy[B](f: ((String, Double)) ⇒ B)(implicit cmp: Ordering[B]): (String, Double)

    Definition Classes
    TraversableOnce → GenTraversableOnce
  78. def members: SparseBagOfWords

  79. def min[B >: (String, Double)](implicit cmp: Ordering[B]): (String, Double)

    Definition Classes
    TraversableOnce → GenTraversableOnce
  80. def minBy[B](f: ((String, Double)) ⇒ B)(implicit cmp: Ordering[B]): (String, Double)

    Definition Classes
    TraversableOnce → GenTraversableOnce
  81. def mkString: String

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

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

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

    Definition Classes
    AnyRef
  85. def newBuilder: Builder[(String, Double), Iterable[(String, Double)]]

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

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

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

    Definition Classes
    AnyRef
  89. def par: ParIterable[(String, Double)]

    Definition Classes
    Parallelizable
  90. def parCombiner: Combiner[(String, Double), ParIterable[(String, Double)]]

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

    Definition Classes
    TraversableLike → GenTraversableLike
  92. def printName: String

    Definition Classes
    Var
  93. def product[B >: (String, Double)](implicit num: Numeric[B]): B

    Definition Classes
    TraversableOnce → GenTraversableOnce
  94. def reduce[A1 >: (String, Double)](op: (A1, A1) ⇒ A1): A1

    Definition Classes
    TraversableOnce → GenTraversableOnce
  95. def reduceLeft[B >: (String, Double)](op: (B, (String, Double)) ⇒ B): B

    Definition Classes
    TraversableOnce
  96. def reduceLeftOption[B >: (String, Double)](op: (B, (String, Double)) ⇒ B): Option[B]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  97. def reduceOption[A1 >: (String, Double)](op: (A1, A1) ⇒ A1): Option[A1]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  98. def reduceRight[B >: (String, Double)](op: ((String, Double), B) ⇒ B): B

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

    Definition Classes
    TraversableOnce → GenTraversableOnce
  100. def remove(x: BagOfWords)(implicit d: variable.DiffList): Unit

  101. def remove(x: String, w: Double = 1.0)(implicit d: variable.DiffList): Unit

  102. def repr: Iterable[(String, Double)]

    Definition Classes
    TraversableLike → GenTraversableLike
  103. def reversed: List[(String, Double)]

    Attributes
    protected[this]
    Definition Classes
    TraversableOnce
  104. def sameElements[B >: (String, Double)](that: GenIterable[B]): Boolean

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

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

    Definition Classes
    TraversableLike → GenTraversableLike
  107. def scanRight[B, That](z: B)(op: ((String, Double), B) ⇒ B)(implicit bf: CanBuildFrom[Iterable[(String, Double)], 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.

  108. def seq: Iterable[(String, Double)]

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

    Definition Classes
    BagOfWordsVariable → GenTraversableLike → TraversableOnce → GenTraversableOnce
  110. def slice(from: Int, until: Int): Iterable[(String, Double)]

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

    Definition Classes
    IterableLike
  112. def sliding(size: Int): Iterator[Iterable[(String, Double)]]

    Definition Classes
    IterableLike
  113. def span(p: ((String, Double)) ⇒ Boolean): (Iterable[(String, Double)], Iterable[(String, Double)])

    Definition Classes
    TraversableLike → GenTraversableLike
  114. def splitAt(n: Int): (Iterable[(String, Double)], Iterable[(String, Double)])

    Definition Classes
    TraversableLike → GenTraversableLike
  115. def stringPrefix: String

    Definition Classes
    TraversableLike → GenTraversableLike
  116. def sum[B >: (String, Double)](implicit num: Numeric[B]): B

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

    Definition Classes
    AnyRef
  118. def tail: Iterable[(String, Double)]

    Definition Classes
    TraversableLike → GenTraversableLike
  119. def tails: Iterator[Iterable[(String, Double)]]

    Definition Classes
    TraversableLike
  120. def take(n: Int): Iterable[(String, Double)]

    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  121. def takeRight(n: Int): Iterable[(String, Double)]

    Definition Classes
    IterableLike
  122. def takeWhile(p: ((String, Double)) ⇒ Boolean): Iterable[(String, Double)]

    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  123. def thisCollection: Iterable[(String, Double)]

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

    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
  125. def toArray[B >: (String, Double)](implicit arg0: ClassTag[B]): Array[B]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  126. def toBuffer[B >: (String, Double)]: Buffer[B]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  127. def toCollection(repr: Iterable[(String, Double)]): Iterable[(String, Double)]

    Attributes
    protected[this]
    Definition Classes
    IterableLike → TraversableLike
  128. def toIndexedSeq: IndexedSeq[(String, Double)]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  129. def toIterable: Iterable[(String, Double)]

    Definition Classes
    IterableLike → TraversableOnce → GenTraversableOnce
  130. def toIterator: Iterator[(String, Double)]

    Definition Classes
    IterableLike → TraversableLike → GenTraversableOnce
  131. def toList: List[(String, Double)]

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

    Definition Classes
    TraversableOnce → GenTraversableOnce
  133. def toSeq: Seq[(String, Double)]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  134. def toSet[B >: (String, Double)]: Set[B]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  135. def toStream: Stream[(String, Double)]

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

    Definition Classes
    TraversableLike → Any
  137. def toTraversable: Traversable[(String, Double)]

    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
  138. def toVector: Vector[(String, Double)]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  139. def transpose[B](implicit asTraversable: ((String, Double)) ⇒ 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.

  140. def unzip[A1, A2](implicit asPair: ((String, Double)) ⇒ (A1, A2)): (Iterable[A1], Iterable[A2])

    Definition Classes
    GenericTraversableTemplate
  141. def unzip3[A1, A2, A3](implicit asTriple: ((String, Double)) ⇒ (A1, A2, A3)): (Iterable[A1], Iterable[A2], Iterable[A3])

    Definition Classes
    GenericTraversableTemplate
  142. def value: SparseBagOfWords

    Abstract method to return the value of this variable.

    Abstract method to return the value of this variable.

    Definition Classes
    BagOfWordsVariableVar
  143. def view(from: Int, until: Int): IterableView[(String, Double), Iterable[(String, Double)]]

    Definition Classes
    IterableLike → TraversableLike
  144. def view: IterableView[(String, Double), Iterable[(String, Double)]]

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

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

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

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

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

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

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

    Definition Classes
    IterableLike → GenIterableLike

Deprecated Value Members

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

    Definition Classes
    GenTraversableOnce
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) use fold instead

Inherited from BagOfWordsVar

Inherited from Iterable[(String, Double)]

Inherited from IterableLike[(String, Double), Iterable[(String, Double)]]

Inherited from Equals

Inherited from GenIterable[(String, Double)]

Inherited from GenIterableLike[(String, Double), Iterable[(String, Double)]]

Inherited from Traversable[(String, Double)]

Inherited from GenTraversable[(String, Double)]

Inherited from GenericTraversableTemplate[(String, Double), Iterable]

Inherited from TraversableLike[(String, Double), Iterable[(String, Double)]]

Inherited from GenTraversableLike[(String, Double), Iterable[(String, Double)]]

Inherited from Parallelizable[(String, Double), ParIterable[(String, Double)]]

Inherited from TraversableOnce[(String, Double)]

Inherited from GenTraversableOnce[(String, Double)]

Inherited from FilterMonadic[(String, Double), Iterable[(String, Double)]]

Inherited from HasNewBuilder[(String, Double), Iterable[(String, Double)]]

Inherited from variable.Var

Inherited from AnyRef

Inherited from Any

Ungrouped