cc.factorie.app.nlp.hcoref

BagOfWords

trait BagOfWords extends AnyRef

Basic trait for doing operations with bags of words

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

Abstract Value Members

  1. abstract def *(that: BagOfWords): Double

  2. abstract def +=(s: String, w: Double = 1.0): Unit

  3. abstract def -=(s: String, w: Double = 1.0): Unit

  4. abstract def addBag(that: BagOfWords): Unit

  5. abstract def apply(word: String): Double

  6. abstract def asHashMap: HashMap[String, Double]

  7. abstract def contains(s: String): Boolean

  8. abstract def deductedDot(that: BagOfWords, deduct: BagOfWords): Double

  9. abstract def iterator: Iterator[(String, Double)]

  10. abstract def l1Norm: Double

  11. abstract def l2Norm: Double

  12. abstract def removeBag(that: BagOfWords): Unit

  13. abstract def size: Int

Concrete 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): Unit

  5. def --=(that: BagOfWords): Unit

  6. final def ==(arg0: AnyRef): Boolean

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

    Definition Classes
    Any
  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def cosineSimilarity(that: BagOfWords): Double

  11. def cosineSimilarity(that: BagOfWords, deduct: BagOfWords): Double

  12. def cosineSimilarityINEFFICIENT(that: BagOfWords, deduct: BagOfWords): Double

  13. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

    Definition Classes
    Any
  19. def l2NormBruteForce: Double

  20. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  24. def toString(): String

    Definition Classes
    AnyRef → Any
  25. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped