|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.shef.dcs.oak.jate.io.ResultWriter2File
public class ResultWriter2File
A helper class which outputs term recognition results
Constructor Summary | |
---|---|
ResultWriter2File(GlobalIndex index)
|
Method Summary | |
---|---|
void |
output(Term[] result,
java.lang.String path)
Output the result. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ResultWriter2File(GlobalIndex index)
index
- an instance of GlobalIndexMem. The writer will read mapping data from term canonical from to variant
forms and output the resultMethod Detail |
---|
public void output(Term[] result, java.lang.String path) throws JATEException
canonical |variant1 |variant2 |variantX confidence
result
- term recognition result sorted descendingly by confidencepath
- output file path
JATEException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |