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

java.lang.Object
  extended by 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

Field Summary
static String ADJECTIVE
           
private  com.aliasi.hmm.HmmDecoder decoder
           
private  String modelpath
           
static String NOUN
           
private  com.aliasi.tokenizer.TokenizerFactory TOKENIZER_FACTORY
           
static String VERB
           
 
Constructor Summary
PartOfSpeech()
           
 
Method Summary
 ArrayList<String> getTokens(String line, 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
 

Field Detail

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
Constructor Detail

PartOfSpeech

public PartOfSpeech()
Method Detail

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...