org.cleartk.syntax.opennlp.parser
Class DefaultOutputTypesHelper<TOKEN_TYPE extends org.apache.uima.jcas.tcas.Annotation,SENTENCE_TYPE extends org.apache.uima.jcas.tcas.Annotation>
java.lang.Object
org.cleartk.syntax.opennlp.parser.DefaultOutputTypesHelper<TOKEN_TYPE,SENTENCE_TYPE>
- All Implemented Interfaces:
- OutputTypesHelper<TOKEN_TYPE,SENTENCE_TYPE,opennlp.tools.parser.Parse,org.cleartk.syntax.constituent.type.TreebankNode>
public class DefaultOutputTypesHelper<TOKEN_TYPE extends org.apache.uima.jcas.tcas.Annotation,SENTENCE_TYPE extends org.apache.uima.jcas.tcas.Annotation>
- extends Object
- implements OutputTypesHelper<TOKEN_TYPE,SENTENCE_TYPE,opennlp.tools.parser.Parse,org.cleartk.syntax.constituent.type.TreebankNode>
Copyright (c) 2011, Regents of the University of Colorado
All rights reserved.
- Author:
- Philip Ogren
|
Method Summary |
org.cleartk.syntax.constituent.type.TreebankNode |
addParse(org.apache.uima.jcas.JCas jCas,
opennlp.tools.parser.Parse parse,
SENTENCE_TYPE sentence,
List<TOKEN_TYPE> tokens)
|
protected List<org.cleartk.syntax.constituent.type.TreebankNode> |
getTerminals(org.cleartk.syntax.constituent.type.TreebankNode node)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultOutputTypesHelper
public DefaultOutputTypesHelper()
addParse
public org.cleartk.syntax.constituent.type.TreebankNode addParse(org.apache.uima.jcas.JCas jCas,
opennlp.tools.parser.Parse parse,
SENTENCE_TYPE sentence,
List<TOKEN_TYPE> tokens)
- Specified by:
addParse in interface OutputTypesHelper<TOKEN_TYPE extends org.apache.uima.jcas.tcas.Annotation,SENTENCE_TYPE extends org.apache.uima.jcas.tcas.Annotation,opennlp.tools.parser.Parse,org.cleartk.syntax.constituent.type.TreebankNode>
getTerminals
protected List<org.cleartk.syntax.constituent.type.TreebankNode> getTerminals(org.cleartk.syntax.constituent.type.TreebankNode node)
Copyright © 2013. All Rights Reserved.