|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectanl.aida.algo.DefaultScoredKeyword
public class DefaultScoredKeyword
Default implementation of Concept
Field Summary | |
---|---|
private int |
count
|
private Keyword |
keyword
|
private float |
score
|
Constructor Summary | |
---|---|
DefaultScoredKeyword(int count,
float score,
Keyword keyword)
|
|
DefaultScoredKeyword(int count,
float score,
java.lang.String text)
|
Method Summary | |
---|---|
int |
compareTo(Keyword o)
|
int |
getDocumentCount()
Gets the number of documents associated with this concept. |
java.lang.String |
getLabel()
Gets this Keyword's label. |
float |
getScore()
Gets this concept's score. |
java.lang.String |
getTerm()
Gets this Keyword's term text. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private int count
private float score
private Keyword keyword
Constructor Detail |
---|
public DefaultScoredKeyword(int count, float score, java.lang.String text)
public DefaultScoredKeyword(int count, float score, Keyword keyword)
count
- score
- text
- Method Detail |
---|
public int getDocumentCount()
ScoredKeyword
getDocumentCount
in interface ScoredKeyword
public float getScore()
ScoredKeyword
getScore
in interface ScoredKeyword
public java.lang.String getLabel()
Keyword
getLabel
in interface Keyword
public java.lang.String getTerm()
Keyword
getTerm
in interface Keyword
public int compareTo(Keyword o)
compareTo
in interface java.lang.Comparable<Keyword>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |