|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsg.edu.nus.comp.nlp.ims.io.CAllWordsResultWriter
public class CAllWordsResultWriter
merge and save results to disk.
Constructor Summary | |
---|---|
CAllWordsResultWriter()
default constructor |
|
CAllWordsResultWriter(java.lang.String p_SaveDir)
constructor with initialed save directory |
Method Summary | |
---|---|
void |
setOptions(java.lang.String[] p_Options)
set options |
java.lang.String |
toString(java.lang.Object p_Result)
convert result to string |
void |
write(java.lang.Object p_Result)
write results |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CAllWordsResultWriter()
public CAllWordsResultWriter(java.lang.String p_SaveDir)
p_SaveDir
- save directoryMethod Detail |
---|
public void setOptions(java.lang.String[] p_Options)
IResultWriter
setOptions
in interface IResultWriter
p_Options
- optionspublic void write(java.lang.Object p_Result) throws java.io.IOException
IResultWriter
write
in interface IResultWriter
p_Result
- result
java.io.IOException
- exception while saving resultpublic java.lang.String toString(java.lang.Object p_Result)
IResultWriter
toString
in interface IResultWriter
p_Result
- classification result
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |