public class AccuracyEvaluationResult extends EvaluationResult
EvaluationResult.| Constructor and Description |
|---|
AccuracyEvaluationResult(double wordAccuracy,
long wordCount)
Creates a new result.
|
| Modifier and Type | Method and Description |
|---|---|
double |
getWordAccuracy()
Gets the word accuracy.
|
long |
getWordCount()
Gets the word count.
|
void |
setWordAccuracy(double wordAccuracy)
Sets the word accuracy.
|
void |
setWordCount(long wordCount)
Sets the word count.
|
String |
toString() |
public AccuracyEvaluationResult(double wordAccuracy,
long wordCount)
wordAccuracy - The word accuracy value.wordCount - The count of words.public double getWordAccuracy()
public void setWordAccuracy(double wordAccuracy)
wordAccuracy - The word accuracy.public long getWordCount()
public void setWordCount(long wordCount)
wordCount - The word count.Copyright © 2018. All rights reserved.