org.cleartk.syntax.opennlp.parser
Class DefaultInputTypesHelper
java.lang.Object
org.cleartk.syntax.opennlp.parser.InputTypesHelper<org.cleartk.token.type.Token,org.cleartk.token.type.Sentence>
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
|
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 |
DefaultInputTypesHelper
public DefaultInputTypesHelper()
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.