|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.cmu.sphinx.decoder.BatchResults
Provides summary results for a batch run of the decoder
Constructor Summary | |
BatchResults(int numWords,
int numSentences,
int subErrors,
int insErrors,
int delErrors,
int sentenceErrors)
Creates a new BatchResults with the given parameters |
Method Summary | |
int |
getDelErrors()
Gets the number of deletion errors |
int |
getInsErrors()
Gets the number of insertion errors |
int |
getNumSentences()
Gets the number of reference sentences |
int |
getNumWords()
Gets the number of reference words |
int |
getSentenceErrors()
Gets the number of sentence errors |
int |
getSubErrors()
Gets the number of substitution errors |
int |
getTotalErrors()
Gets the total number of errors |
float |
getWER()
Gets the word error rate return the word error rate as a percentage |
java.lang.String |
toString()
Outputs a string representation of this batch result |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public BatchResults(int numWords, int numSentences, int subErrors, int insErrors, int delErrors, int sentenceErrors)
numWords
- the total number of reference wordsnumSentences
- the total number of sentences recognizedsubErrors
- the number of substitution errorsinsErrors
- the number of insertion errorsdelErrors
- the number of deletion errorssentenceErrors
- the number of sentence errorsMethod Detail |
public float getWER()
public int getNumWords()
public int getNumSentences()
public int getSubErrors()
public int getInsErrors()
public int getDelErrors()
public int getSentenceErrors()
public int getTotalErrors()
public java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |