coherence Package¶
coherence
Package¶
@package eWRT.ws.stat.coherence Determines how strongly two terms are connected to each other
-
class
eWRT.stat.coherence.
Coherence
(dataSource, cache=True)[source]¶ Bases:
object
@class Coherence abstract class for computing the coherence between terms
-
class
eWRT.stat.coherence.
DiceCoherence
(dataSource, cache=True)[source]¶ Bases:
eWRT.stat.coherence.Coherence
@class DiceCoherence computes the dice coherence for the given terms
-
class
eWRT.stat.coherence.
PMICoherence
(dataSource, cache=True)[source]¶ Bases:
eWRT.stat.coherence.Coherence
@class PMICoherence computes the coherence based on the pointwise mutual information (PMI)