Modifier and Type | Method and Description |
---|---|
static ArrayList<String> |
SRLFeatureExtractor.getEntityFeats(org.apache.uima.jcas.JCas jcas,
IdentifiedAnnotation ent,
Sentence sent) |
Modifier and Type | Field and Description |
---|---|
protected TreeMap<Integer,Sentence> |
CharacterOffsetToLineTokenConverterCtakesImpl.beginTreeMap |
protected Map<Sentence,List<BaseToken>> |
CharacterOffsetToLineTokenConverterCtakesImpl.sentenceToTokenNumberMap |
Modifier and Type | Method and Description |
---|---|
Sentence |
CharacterOffsetToLineTokenConverterCtakesImpl.findPreviousOrCurrentSentence(int characterOffset) |
Modifier and Type | Method and Description |
---|---|
protected void |
ChunkAdjuster.annotateSentence(org.apache.uima.jcas.JCas jcas,
Sentence sent) |
Modifier and Type | Method and Description |
---|---|
static TopTreebankNode |
TreeUtils.buildAlignedTree(org.apache.uima.jcas.JCas jcas,
opennlp.tools.parser.Parse parse,
org.apache.uima.jcas.cas.FSArray terminalArray,
Sentence sentence) |
static TopTreebankNode |
TreeUtils.buildAlignedTree(org.apache.uima.jcas.JCas jcas,
opennlp.tools.parser.Parse parse,
Sentence sentence) |
static org.apache.uima.jcas.cas.FSArray |
TreeUtils.getTerminals(org.apache.uima.jcas.JCas jcas,
Sentence sentence) |
Modifier and Type | Method and Description |
---|---|
static ArrayList<Sentence> |
AnnotationSelector.selectSentence(org.apache.uima.jcas.JCas jcas) |
Modifier and Type | Method and Description |
---|---|
static Sentence |
DependencyUtility.getSentence(org.apache.uima.jcas.JCas jCas,
org.apache.uima.jcas.tcas.Annotation annot)
Find the sentence in which an Annotation lives
|
Modifier and Type | Method and Description |
---|---|
static ArrayList<ConllDependencyNode> |
ClearDependencyUtility.convert(org.apache.uima.jcas.JCas jcas,
com.googlecode.clearnlp.dependency.DEPTree clearTree,
Sentence sentence,
List<BaseToken> tokens) |
Modifier and Type | Method and Description |
---|---|
static List<TreebankNode> |
Utils.getNounPhrases(org.apache.uima.jcas.JCas identifiedAnnotationView,
Sentence sentence)
Get all noun phrases in a sentence.
|
Modifier and Type | Method and Description |
---|---|
static String |
EventEventCNNAnnotator.getTokensBetweenExpanded(org.apache.uima.jcas.JCas jCas,
Sentence sent,
org.apache.uima.jcas.tcas.Annotation left,
String leftType,
org.apache.uima.jcas.tcas.Annotation right,
String rightType,
int contextSize,
Map<EventMention,Collection<EventMention>> coveringMap)
Print context from left to right.
|
static String |
EventTimeCNNAnnotator.getTokensBetweenExpanded(org.apache.uima.jcas.JCas jCas,
Sentence sent,
org.apache.uima.jcas.tcas.Annotation left,
String leftType,
org.apache.uima.jcas.tcas.Annotation right,
String rightType,
int contextSize,
Map<EventMention,Collection<EventMention>> coveringMap)
Print context from left to right.
|
Modifier and Type | Method and Description |
---|---|
static String |
EventTimeTokenAndBIOBasedAnnotator.getTokensBetweenExpanded(org.apache.uima.jcas.JCas jCas,
Sentence sent,
org.apache.uima.jcas.tcas.Annotation left,
String leftType,
org.apache.uima.jcas.tcas.Annotation right,
String rightType,
int contextSize,
Map<EventMention,Collection<EventMention>> coveringMap)
Print context from left to right.
|
static String |
EventTimeTokenAndPosBasedAnnotator.getTokensBetweenExpanded(org.apache.uima.jcas.JCas jCas,
Sentence sent,
org.apache.uima.jcas.tcas.Annotation left,
String leftType,
org.apache.uima.jcas.tcas.Annotation right,
String rightType,
int contextSize,
Map<EventMention,Collection<EventMention>> coveringMap)
Print context from left to right.
|
static String |
EventEventTokenBasedAnnotator.getTokenTimexContext(org.apache.uima.jcas.JCas jCas,
Sentence sentence,
IdentifiedAnnotation arg1,
String leftType,
IdentifiedAnnotation arg2,
String rightType,
int contextSize) |
static String |
EventTimeTokenBasedAnnotator.getTokenTimexContext(org.apache.uima.jcas.JCas jCas,
Sentence sentence,
IdentifiedAnnotation arg1,
String leftType,
IdentifiedAnnotation arg2,
String rightType,
int contextSize) |
Modifier and Type | Method and Description |
---|---|
static String |
ArgContextProvider.getBIOContext(org.apache.uima.jcas.JCas jCas,
Sentence sentence,
IdentifiedAnnotation arg1,
String leftType,
IdentifiedAnnotation arg2,
String rightType,
int contextSize) |
static String |
DtrRelPrinter.getEventContext(org.apache.uima.jcas.JCas jCas,
Sentence sent,
EventMention event,
String marker,
int contextSize)
Print context from left to right.
|
static String |
ArgContextProvider.getEventEventPositionContext(org.apache.uima.jcas.JCas jCas,
Sentence sent,
IdentifiedAnnotation event1,
IdentifiedAnnotation event2)
Position features for event-event relations
|
static String |
DtrRelPrinter.getEventPosContext(org.apache.uima.jcas.JCas jCas,
Sentence sent,
EventMention event,
String marker,
int contextSize)
Print context from left to right.
|
static String |
ArgContextProvider.getEventTimePositionContext(org.apache.uima.jcas.JCas jCas,
Sentence sent,
IdentifiedAnnotation time,
IdentifiedAnnotation event)
Position features for event-time relations
|
static String |
ArgContextProvider.getPosContext(org.apache.uima.jcas.JCas jCas,
Sentence sent,
org.apache.uima.jcas.tcas.Annotation left,
String leftType,
org.apache.uima.jcas.tcas.Annotation right,
String rightType,
int contextSize)
Print POS tags from left to right.
|
static String |
ArgContextProvider.getRegions(org.apache.uima.jcas.JCas jCas,
Sentence sent,
org.apache.uima.jcas.tcas.Annotation left,
org.apache.uima.jcas.tcas.Annotation right,
int contextSize)
Return tokens between arg1 and arg2 as string
|
static String |
EventEventAllPairRelPrinter.getSentenceWithMarkedArgs(org.apache.uima.jcas.JCas jCas,
Sentence sent,
org.apache.uima.jcas.tcas.Annotation arg1,
org.apache.uima.jcas.tcas.Annotation arg2) |
static String |
ArgContextProvider.getTokenContext(org.apache.uima.jcas.JCas jCas,
Sentence sent,
org.apache.uima.jcas.tcas.Annotation left,
String leftType,
org.apache.uima.jcas.tcas.Annotation right,
String rightType,
int contextSize)
Print words from left to right.
|
static String |
EventEventAllPairRelPrinter.getTokensBetween(org.apache.uima.jcas.JCas jCas,
Sentence sent,
org.apache.uima.jcas.tcas.Annotation left,
String leftType,
org.apache.uima.jcas.tcas.Annotation right,
String rightType,
int contextSize)
Return tokens between arg1 and arg2 as string
|
Copyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.