at.tuwien.ifs.somtoolbox.summarisation.methods
Class KeywordMethod
java.lang.Object
at.tuwien.ifs.somtoolbox.summarisation.methods.TFxIDF
at.tuwien.ifs.somtoolbox.summarisation.methods.KeywordMethod
public class KeywordMethod
- extends TFxIDF
- Version:
- $Id: KeywordMethod.java 3589 2010-05-21 10:42:01Z mayer $
- Author:
- Julius Penaranda
Field Summary |
private cern.colt.list.DoubleArrayList |
keyarray
|
Methods inherited from class at.tuwien.ifs.somtoolbox.summarisation.methods.TFxIDF |
setVectors |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
keyarray
private cern.colt.list.DoubleArrayList keyarray
KeywordMethod
public KeywordMethod(PartOfSpeech p)
setDocument
public void setDocument(String filename,
ArrayList<String> doc)
- Description copied from class:
TFxIDF
- Sets document
- Overrides:
setDocument
in class TFxIDF
computeScores
public cern.colt.list.DoubleArrayList computeScores(String type)
- Description copied from class:
TFxIDF
- computes scores of each sentence
- Overrides:
computeScores
in class TFxIDF