| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgr.demokritos.iit.summarization.evaluation.grammar.DistributionDocumentEvaluator
public class DistributionDocumentEvaluator
| Constructor Summary | |
|---|---|
DistributionDocumentEvaluator(java.util.Map<java.lang.Integer,java.lang.String> mIdxToWord,
                              grammaticalityEstimator geEstimator)
Creates a new instance of DistributionDocumentEvaluator, given an integer-to-term map and a distribution document.  | 
|
| Method Summary | |
|---|---|
 double | 
getGrammaticallity(java.util.Vector vText)
Returns a double value, indicative of grammaticallity given underlying distributions.  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public DistributionDocumentEvaluator(java.util.Map<java.lang.Integer,java.lang.String> mIdxToWord,
                                     grammaticalityEstimator geEstimator)
mIdxToWord - A Map connecting indices to (string) terms.geEstimator - A  indicating the accepted distributions.| Method Detail | 
|---|
public double getGrammaticallity(java.util.Vector vText)
getGrammaticallity in interface IGrammaticallityEvaluatorvText - The Vector of term indices, representing the text.
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||