Class MetricsAnnotation
- java.lang.Object
-
- net.sf.okapi.steps.wordcount.common.MetricsAnnotation
-
- All Implemented Interfaces:
Cloneable,IAnnotation
public class MetricsAnnotation extends Object implements IAnnotation
Used byWordCountStepand others to report various token counts.
-
-
Constructor Summary
Constructors Constructor Description MetricsAnnotation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MetricsgetMetrics()StringtoString()Gets a human readable representation of this annotation.
-
-
-
Method Detail
-
getMetrics
public Metrics getMetrics()
-
toString
public String toString()
Description copied from interface:IAnnotationGets a human readable representation of this annotation.- Specified by:
toStringin interfaceIAnnotation- Overrides:
toStringin classObject- Returns:
- a human readable representation of this annotation.
-
-