|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.cmu.meteor.scorer.MeteorScorer
public class MeteorScorer
Entry point class which oversees Meteor scoring. Instantiate with either the default configuration (no args) or an existing MeteorConfiguration. Call the getMeteorStats() methods to obtain MeteorStats objects which include a score field
Constructor Summary | |
---|---|
MeteorScorer()
Use default configuration |
|
MeteorScorer(MeteorConfiguration config)
Use a custom configuration |
Method Summary | |
---|---|
void |
computeMetrics(MeteorStats stats)
Get the Meteor score given sufficient statistics |
MeteorStats |
getMeteorStats(Alignment alignment)
Get the Meteor sufficient statistics for an alignment |
MeteorStats |
getMeteorStats(java.lang.String test,
java.util.ArrayList<java.lang.String> references)
Get the Meteor sufficient statistics for a test give a list of references |
MeteorStats |
getMeteorStats(java.lang.String test,
java.lang.String reference)
Get the Meteor sufficient statistics for a test / reference pair |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MeteorScorer()
public MeteorScorer(MeteorConfiguration config)
config
- Method Detail |
---|
public MeteorStats getMeteorStats(java.lang.String test, java.util.ArrayList<java.lang.String> references)
test
- references
-
public MeteorStats getMeteorStats(java.lang.String test, java.lang.String reference)
test
- reference
-
public MeteorStats getMeteorStats(Alignment alignment)
alignment
-
public void computeMetrics(MeteorStats stats)
stats
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |