|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectanl.aida.score.SVScorer
public class SVScorer
Scorer that returns the semantic vector similarity score for a term w/r to a document.
Field Summary | |
---|---|
private SemanticVectorStore |
vectorStore
|
Constructor Summary | |
---|---|
SVScorer(SemanticVectorStore vectorStore)
|
Method Summary | |
---|---|
float |
getScore(java.lang.String term,
DocumentID id)
Gets the term frequency for the specified term w/r to the specified document. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private SemanticVectorStore vectorStore
Constructor Detail |
---|
public SVScorer(SemanticVectorStore vectorStore)
Method Detail |
---|
public float getScore(java.lang.String term, DocumentID id) throws MIFSRuntimeException
getScore
in interface Scorer
term
- the term whose score we wantid
- the id of the document
MIFSRuntimeException
- if there's an error getting the score.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |