| Home | Trees | Indices | Help |
|
|---|
|
|
Provides scoring functions for a number of association measures through a generic, abstract implementation in NgramAssocMeasures, and n-specific BigramAssocMeasures and TrigramAssocMeasures.
|
|||
|
NgramAssocMeasures An abstract class defining a collection of generic association measures. |
|||
|
BigramAssocMeasures A collection of trigram association measures. |
|||
|
TrigramAssocMeasures A collection of trigram association measures. |
|||
|
ContingencyMeasures Wraps NgramAssocMeasures classes such that the arguments of association measures are contingency table values rather than marginals. |
|||
|
|||
|
|||
|
|||
|
|||
_SMALL = 1e-20
|
|||
NGRAM = 0Marginals index for the ngram count |
|||
UNIGRAMS = -2Marginals index for a tuple of each unigram count |
|||
TOTAL = -1Marginals index for the number of words in the data |
|||
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Mon Apr 11 14:39:41 2011 | http://epydoc.sourceforge.net |