Modifier and Type | Method and Description |
---|---|
void |
GazetteerViewGenerator.addFilter(edu.illinois.cs.cogcomp.core.transformers.Predicate<edu.illinois.cs.cogcomp.core.datastructures.Pair<Constituent,SpanLabelView>> filter)
Add a filter for the labels.
|
Modifier and Type | Method and Description |
---|---|
protected SpanLabelView |
CoNLLColumnFormatReader.makeSpanLabeledView(List<String> chunkLabels,
List<Integer> chunkStart,
List<Integer> chunkEnd,
TextAnnotation ta,
String viewName) |
Modifier and Type | Method and Description |
---|---|
static SpanLabelView |
TokenAligner.align(String viewName,
edu.illinois.cs.cogcomp.thrift.base.Labeling labeling,
TextAnnotation ta)
Deprecated.
Converts a
Labeling to a SpanLabelView for the input
TextAnnotation . |
static SpanLabelView |
TokenAligner.align(String viewName,
edu.illinois.cs.cogcomp.thrift.base.Labeling labeling,
TextAnnotation ta,
boolean allowOverlappingSpans)
Deprecated.
|
static SpanLabelView |
CuratorDataStructureInterface.alignLabelingToSpanLabelView(String viewName,
TextAnnotation ta,
edu.illinois.cs.cogcomp.thrift.base.Labeling spanLabeling,
boolean allowOverlappingSpans)
Aligns a
Labeling to a SpanLabelView . |
Modifier and Type | Method and Description |
---|---|
static List<Constituent> |
SpanLabelsHelper.getConstituentsInBetween(SpanLabelView view,
int start,
int end) |
Modifier and Type | Class and Description |
---|---|
class |
TokenLabelView
A TokenLabelView is a specialization of a
SpanLabelView , where the
length of a labeled span is one. |
Modifier and Type | Method and Description |
---|---|
static SpanLabelView |
TokenizerUtilities.addTokenView(TextAnnotation input,
Tokenizer tokenizer,
String source) |
Copyright © 2015. All rights reserved.