Package | Description |
---|---|
gate.creole.annic | |
gate.creole.annic.lucene |
Modifier and Type | Field and Description |
---|---|
protected List<PatternAnnotation> |
Pattern.annotations
annotations
|
Modifier and Type | Method and Description |
---|---|
PatternAnnotation[] |
Pattern.getPatternAnnotations()
Returns all annotations underlying the pattern
|
PatternAnnotation[] |
Pattern.getPatternAnnotations(String type)
Returns the annotations with the given type
|
PatternAnnotation[] |
Pattern.getPatternAnnotations(String type,
String feature)
Returns the annotations with the given type and the feature
|
Modifier and Type | Method and Description |
---|---|
List<PatternAnnotation> |
Pattern.getPatternAnnotations(int startOffset,
int endOffset)
Returns the annotations lying between the start and the end offsets
|
Constructor and Description |
---|
Pattern(String docID,
String annotationSetName,
String patternText,
int startOffset,
int endOffset,
int leftContextStartOffset,
int rightContextEndOffset,
List<PatternAnnotation> annotations,
String queryString)
Constructor
|
Modifier and Type | Method and Description |
---|---|
List<List<PatternAnnotation>> |
LuceneQueryResult.getGateAnnotations()
Gets the GateAnnotations for each pattern.
|
Constructor and Description |
---|
LuceneQueryResult(Object docID,
String annotationSetName,
List<?> firstTermPositions,
List<Integer> patternLength,
int queryType,
List<List<PatternAnnotation>> gateAnnotations,
String query)
Constructor
|
Copyright © 2024 GATE. All rights reserved.