edu.mit.jmwe.data
Interface IMarkedSentence<T extends IToken>
- Type Parameters:
T
- the type of tokens contained in the unit
- All Superinterfaces:
- Collection<T>, IHasID, Iterable<T>, List<T>
- All Known Subinterfaces:
- IConcordanceSentence
- All Known Implementing Classes:
- ConcordanceSentence
public interface IMarkedSentence<T extends IToken>
- extends IHasID, List<T>
A marked sentence is a sentence (i.e., a list of tokens) that has been tagged
with a unique id. The purpose of marking the sentence with an id is so that,
when an MWE detector has been run over the sentence, the correct answers may
be retrieved from an IAnswerKey
object. If all you want to do is
construct a sentence on which to run a detector, without referencing an
answer key, you may just use a normal List
.
- Since:
- jMWE 1.0.0
- Version:
- $Id: IMarkedSentence.java 612 2011-05-06 20:22:54Z markaf $
- Author:
- N. Kulkarni
Methods inherited from interface edu.mit.jmwe.data.IHasID |
getID |
Methods inherited from interface java.util.List |
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray |
Copyright © 2011 Massachusetts Institute of Technology. All Rights Reserved.