public class PennTreeToJCasConverter extends Object
Constructor and Description |
---|
PennTreeToJCasConverter(MappingProvider aPosMappingProvider,
MappingProvider aConstituentMappingProvider) |
Modifier and Type | Method and Description |
---|---|
Constituent |
convertPennTree(org.apache.uima.jcas.JCas aJCas,
StringBuilder aText,
PennTreeNode aNode) |
Constituent |
convertPennTree(Sentence aSentence,
PennTreeNode aNode) |
String |
getRootLabel() |
boolean |
isCreatePosTags() |
boolean |
isInternTags() |
boolean |
isWriteTracesToText() |
void |
setCreatePosTags(boolean aCreatePosTags) |
void |
setInternTags(boolean aInternTags) |
void |
setRootLabel(String aRootLabel) |
void |
setWriteTracesToText(boolean aWriteTracesToText) |
public PennTreeToJCasConverter(MappingProvider aPosMappingProvider, MappingProvider aConstituentMappingProvider)
public boolean isWriteTracesToText()
public void setWriteTracesToText(boolean aWriteTracesToText)
public boolean isCreatePosTags()
public void setCreatePosTags(boolean aCreatePosTags)
public boolean isInternTags()
public void setInternTags(boolean aInternTags)
public String getRootLabel()
public void setRootLabel(String aRootLabel)
public Constituent convertPennTree(org.apache.uima.jcas.JCas aJCas, StringBuilder aText, PennTreeNode aNode)
public Constituent convertPennTree(Sentence aSentence, PennTreeNode aNode)
Copyright © 2007–2018 Ubiquitous Knowledge Processing (UKP) Lab, Technische Universität Darmstadt. All rights reserved.