at.tuwien.ifs.somtoolbox.summarisation.methods
Class LocationMethod
java.lang.Object
at.tuwien.ifs.somtoolbox.summarisation.methods.TFxIDF
at.tuwien.ifs.somtoolbox.summarisation.methods.LocationMethod
public class LocationMethod
- extends TFxIDF
- Version:
- $Id: LocationMethod.java 3589 2010-05-21 10:42:01Z mayer $
- Author:
- Julius Penaranda
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
doc
private ArrayList<String> doc
lmarray
private cern.colt.list.DoubleArrayList lmarray
finalarray
private cern.colt.list.DoubleArrayList finalarray
LocationMethod
public LocationMethod(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()
- computes LocationMethod scores of all sentences
getLocationScores
public cern.colt.list.DoubleArrayList getLocationScores()