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