Package | Description |
---|---|
edu.illinois.cs.cogcomp.core.datastructures | |
edu.illinois.cs.cogcomp.core.datastructures.textannotation |
Modifier and Type | Class and Description |
---|---|
class |
QueryableList<T>
A list that can be queried.
|
Modifier and Type | Method and Description |
---|---|
IQueryable<T> |
QueryableList.orderBy(Comparator<T> comparator) |
IQueryable<T> |
IQueryable.orderBy(Comparator<T> comparator)
Returns a queryable iterator, where the elements of this iterator are sorted using the
comparator.
|
<S> IQueryable<S> |
QueryableList.select(ITransformer<T,S> transformer) |
<S> IQueryable<S> |
IQueryable.select(ITransformer<T,S> transformer)
Given a transformer that converts objects of type T to those of type S, this function returns
a new queryable iterator, containing objects of type S which are created by applying the
transformer to each element of this iterator.
|
IQueryable<T> |
QueryableList.unique() |
IQueryable<T> |
IQueryable.unique()
Get a queryable iterator containing the unique elements of this iterator.
|
IQueryable<T> |
QueryableList.where(Predicate<T> condition) |
IQueryable<T> |
IQueryable.where(Predicate<T> condition)
Get a queryable iterator that contains the elements of this iterator which satisfy the
condition.
|
Modifier and Type | Class and Description |
---|---|
class |
CoreferenceView |
class |
PredicateArgumentView |
class |
SpanLabelView
A SpanLabelView is a specialized view which corresponds to contiguous chunks of tokens that have
a label.
|
class |
TokenLabelView
A TokenLabelView is a specialization of a
SpanLabelView , where the
length of a labeled span is one. |
class |
TreeView
This view represents a tree structure.
|
class |
View
This class represents a view of the text.
|
Modifier and Type | Method and Description |
---|---|
IQueryable<Constituent> |
View.orderBy(Comparator<Constituent> comparator) |
<S> IQueryable<S> |
View.select(ITransformer<Constituent,S> transformer) |
IQueryable<Constituent> |
AbstractTextAnnotation.select(String viewName)
Gets a queryable list of all constituents from the view, represented by
viewName . |
IQueryable<Constituent> |
View.unique() |
IQueryable<Constituent> |
View.where(Predicate<Constituent> condition) |
Copyright © 2017. All rights reserved.