cc.factorie.app.nlp.hcoref

SparseBagOfWords

class SparseBagOfWords extends BagOfWords

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. SparseBagOfWords
  2. BagOfWords
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SparseBagOfWords(initialWords: Iterable[String] = null, initialBag: Map[String, Double] = null)

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 *(that: BagOfWords): Double

    Definition Classes
    SparseBagOfWordsBagOfWords
  5. def ++=(that: BagOfWords): Unit

    Definition Classes
    BagOfWords
  6. def +=(s: String, w: Double = 1.0): Unit

    Definition Classes
    SparseBagOfWordsBagOfWords
  7. def --=(that: BagOfWords): Unit

    Definition Classes
    BagOfWords
  8. def -=(s: String, w: Double = 1.0): Unit

    Definition Classes
    SparseBagOfWordsBagOfWords
  9. final def ==(arg0: AnyRef): Boolean

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

    Definition Classes
    Any
  11. var _bag: LinkedHashMap[String, Double]

    Attributes
    protected
  12. var _l1Norm: Double

    Attributes
    protected
  13. var _l2Norm: Double

    Attributes
    protected
  14. def addBag(that: BagOfWords): Unit

    Definition Classes
    SparseBagOfWordsBagOfWords
  15. def apply(s: String): Double

    Definition Classes
    SparseBagOfWordsBagOfWords
  16. def asHashMap: HashMap[String, Double]

    Definition Classes
    SparseBagOfWordsBagOfWords
  17. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  18. def clear(): Unit

  19. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. def contains(s: String): Boolean

    Definition Classes
    SparseBagOfWordsBagOfWords
  21. def cosineSimilarity(that: BagOfWords): Double

    Definition Classes
    BagOfWords
  22. def cosineSimilarity(that: BagOfWords, deduct: BagOfWords): Double

    Definition Classes
    BagOfWords
  23. def cosineSimilarityINEFFICIENT(that: BagOfWords, deduct: BagOfWords): Double

    Definition Classes
    BagOfWords
  24. def deductedDot(that: BagOfWords, deduct: BagOfWords): Double

    Definition Classes
    SparseBagOfWordsBagOfWords
  25. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  27. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  28. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  29. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  30. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  31. def iterator: Iterator[(String, Double)]

    Definition Classes
    SparseBagOfWordsBagOfWords
  32. def l1Norm: Double

    Definition Classes
    SparseBagOfWordsBagOfWords
  33. def l2Norm: Double

    Definition Classes
    SparseBagOfWordsBagOfWords
  34. def l2NormBruteForce: Double

    Definition Classes
    BagOfWords
  35. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  38. def removeBag(that: BagOfWords): Unit

    Definition Classes
    SparseBagOfWordsBagOfWords
  39. def size: Int

    Definition Classes
    SparseBagOfWordsBagOfWords
  40. def sizeHint(n: Int): Unit

  41. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  42. def toString(): String

    Definition Classes
    SparseBagOfWords → AnyRef → Any
  43. var variable: BagOfWordsVariable

  44. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  47. final def withinEpsilon(v1: Double, v2: Double, epsilon: Double = 0.000001): Boolean

    Annotations
    @inline()

Inherited from BagOfWords

Inherited from AnyRef

Inherited from Any

Ungrouped