edu.cmu.meteor.scorer
Class MeteorScorer

java.lang.Object
  extended by edu.cmu.meteor.scorer.MeteorScorer

public class MeteorScorer
extends java.lang.Object

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

MeteorScorer

public MeteorScorer()
Use default configuration


MeteorScorer

public MeteorScorer(MeteorConfiguration config)
Use a custom configuration

Parameters:
config -
Method Detail

getMeteorStats

public 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

Parameters:
test -
references -
Returns:

getMeteorStats

public MeteorStats getMeteorStats(java.lang.String test,
                                  java.lang.String reference)
Get the Meteor sufficient statistics for a test / reference pair

Parameters:
test -
reference -
Returns:

getMeteorStats

public MeteorStats getMeteorStats(Alignment alignment)
Get the Meteor sufficient statistics for an alignment

Parameters:
alignment -
Returns:

computeMetrics

public void computeMetrics(MeteorStats stats)
Get the Meteor score given sufficient statistics

Parameters:
stats -