at.tuwien.ifs.somtoolbox.summarisation.methods
Class PartOfSpeech
java.lang.Object
at.tuwien.ifs.somtoolbox.summarisation.methods.PartOfSpeech
public class PartOfSpeech
- extends Object
- Version:
- $Id: PartOfSpeech.java 3583 2010-05-21 10:07:41Z mayer $
- Author:
- Julius Penaranda
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NOUN
public static final String NOUN
- See Also:
- Constant Field Values
ADJECTIVE
public static final String ADJECTIVE
- See Also:
- Constant Field Values
VERB
public static final String VERB
- See Also:
- Constant Field Values
decoder
private com.aliasi.hmm.HmmDecoder decoder
modelpath
private final String modelpath
- See Also:
- Constant Field Values
TOKENIZER_FACTORY
private com.aliasi.tokenizer.TokenizerFactory TOKENIZER_FACTORY
PartOfSpeech
public PartOfSpeech()
readModel
public void readModel()
- reads Model
getTokens
public ArrayList<String> getTokens(String line,
String type)
- returns type of tokens in the given line sentence, whether nouns, verbs...