org.cleartk.syntax.opennlp.parser
Class DefaultInputTypesHelper

java.lang.Object
  extended by org.cleartk.syntax.opennlp.parser.InputTypesHelper<org.cleartk.token.type.Token,org.cleartk.token.type.Sentence>
      extended by org.cleartk.syntax.opennlp.parser.DefaultInputTypesHelper

public class DefaultInputTypesHelper
extends InputTypesHelper<org.cleartk.token.type.Token,org.cleartk.token.type.Sentence>


Copyright (c) 2012, Regents of the University of Colorado
All rights reserved.

Author:
Philip Ogren

Constructor Summary
DefaultInputTypesHelper()
           
 
Method Summary
 String getPosTag(org.cleartk.token.type.Token token)
           
 List<org.cleartk.token.type.Sentence> getSentences(org.apache.uima.jcas.JCas jCas)
           
 List<org.cleartk.token.type.Token> getTokens(org.apache.uima.jcas.JCas jCas, org.cleartk.token.type.Sentence sentence)
           
 void setPosTag(org.cleartk.token.type.Token token, String tag)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultInputTypesHelper

public DefaultInputTypesHelper()
Method Detail

getTokens

public List<org.cleartk.token.type.Token> getTokens(org.apache.uima.jcas.JCas jCas,
                                                    org.cleartk.token.type.Sentence sentence)
Specified by:
getTokens in class InputTypesHelper<org.cleartk.token.type.Token,org.cleartk.token.type.Sentence>

getPosTag

public String getPosTag(org.cleartk.token.type.Token token)
Specified by:
getPosTag in class InputTypesHelper<org.cleartk.token.type.Token,org.cleartk.token.type.Sentence>

setPosTag

public void setPosTag(org.cleartk.token.type.Token token,
                      String tag)
Specified by:
setPosTag in class InputTypesHelper<org.cleartk.token.type.Token,org.cleartk.token.type.Sentence>

getSentences

public List<org.cleartk.token.type.Sentence> getSentences(org.apache.uima.jcas.JCas jCas)
Specified by:
getSentences in class InputTypesHelper<org.cleartk.token.type.Token,org.cleartk.token.type.Sentence>


Copyright © 2013. All Rights Reserved.