public class TitleMethod extends TFxIDF
Modifier and Type | Field and Description |
---|---|
private ArrayList<String> |
doc |
private cern.colt.list.DoubleArrayList |
finalarray |
private cern.colt.list.DoubleArrayList |
tharray |
Constructor and Description |
---|
TitleMethod(PartOfSpeech p) |
Modifier and Type | Method and Description |
---|---|
cern.colt.list.DoubleArrayList |
computeScores() |
cern.colt.list.DoubleArrayList |
getTitleScores()
returns Title-Scores
|
void |
setDocument(String filename,
ArrayList<String> doc)
Sets document
|
computeScores, setVectors
private cern.colt.list.DoubleArrayList tharray
private cern.colt.list.DoubleArrayList finalarray
public TitleMethod(PartOfSpeech p)
public void setDocument(String filename, ArrayList<String> doc)
TFxIDF
setDocument
in class TFxIDF
public cern.colt.list.DoubleArrayList computeScores()
public cern.colt.list.DoubleArrayList getTitleScores()