at.tuwien.ifs.somtoolbox.summarisation.methods
Class KeywordMethod

java.lang.Object
  extended by at.tuwien.ifs.somtoolbox.summarisation.methods.TFxIDF
      extended by 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
           
 
Constructor Summary
KeywordMethod(PartOfSpeech p)
           
 
Method Summary
 cern.colt.list.DoubleArrayList computeScores(String type)
          computes scores of each sentence
 void setDocument(String filename, ArrayList<String> doc)
          Sets document
 
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
 

Field Detail

keyarray

private cern.colt.list.DoubleArrayList keyarray
Constructor Detail

KeywordMethod

public KeywordMethod(PartOfSpeech p)
Method Detail

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