|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eml.sir.rel.disc.RelatednessResult
The result that a SearchRanker creates.
Constructor Summary | |
RelatednessResult()
Create a new RelatednessResult instance. |
Method Summary | |
void |
createAlphabeticalFile(java.lang.String fileName)
Create human readable file, ordered alphabeticaly. |
void |
createExplanationFile(java.lang.String fileName)
Create explanation file. |
void |
createRelatednessFile(java.lang.String fileName)
Create human readable file, ordered by relatedness. |
static void |
createTrecFile(java.util.ArrayList results,
java.lang.String fileName)
Create TREC file. |
void |
dropExplanations()
Drop the explanations of this RelatednessResult instance. |
void |
setExplanations(java.util.HashMap explanations)
Set explanations. |
void |
setInfo(java.lang.String info)
Set the info regarding this result. |
void |
setProfessionNames(java.util.HashMap profNames)
Set the profession names. |
void |
setProfessionsAlphabetical(java.util.ArrayList alphabet)
Set alpabetical ordered professions list. |
void |
setQueryFile(java.lang.String queryFile)
Set query file's name. |
void |
setRanking(java.util.ArrayList ranking)
Set the ranking list. |
void |
setScores(java.util.HashMap scores)
Set the scores. |
void |
setWords(java.util.ArrayList words)
Set query words. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RelatednessResult()
Method Detail |
public void setQueryFile(java.lang.String queryFile)
public void setWords(java.util.ArrayList words)
public void setProfessionsAlphabetical(java.util.ArrayList alphabet)
public void setExplanations(java.util.HashMap explanations)
public void dropExplanations()
public void setProfessionNames(java.util.HashMap profNames)
public void setRanking(java.util.ArrayList ranking)
public void setScores(java.util.HashMap scores)
public void setInfo(java.lang.String info)
public void createRelatednessFile(java.lang.String fileName) throws java.io.IOException
java.io.IOException
public void createAlphabeticalFile(java.lang.String fileName) throws java.io.IOException
java.io.IOException
public static void createTrecFile(java.util.ArrayList results, java.lang.String fileName) throws java.io.IOException
results
- List of RelatednessResult instances in ranking order.
java.io.IOException
public void createExplanationFile(java.lang.String fileName) throws java.io.IOException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |