edu.mit.jmwe.data.concordance
Interface IConcordanceSentence

All Superinterfaces:
Collection<IConcordanceToken>, IHasID, IMarkedSentence<IConcordanceToken>, Iterable<IConcordanceToken>, List<IConcordanceToken>
All Known Implementing Classes:
ConcordanceSentence

public interface IConcordanceSentence
extends IMarkedSentence<IConcordanceToken>

A sentence drawn from the Semcor corpus.

This class requires JSemcor to be on the classpath.

Since:
jMWE 1.0.0
Version:
$Id: IConcordanceSentence.java 619 2011-05-08 20:21:37Z markaf $
Author:
M.A. Finlayson

Method Summary
 edu.mit.jsemcor.element.IContextID getContextID()
          Returns the context id from which this sentence was drawn.
 int getSentenceNumber()
          Returns the sentence number of this sentence in the specified Semcor context.
 
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
 

Method Detail

getContextID

edu.mit.jsemcor.element.IContextID getContextID()
Returns the context id from which this sentence was drawn. May not return null.

Returns:
the non-null context id from which this sentence was drawn.
Since:
jMWE 1.0.0

getSentenceNumber

int getSentenceNumber()
Returns the sentence number of this sentence in the specified Semcor context.

Returns:
the sentence number of this sentence in the specified Semcor context.
Since:
jMWE 1.0.0


Copyright © 2011 Massachusetts Institute of Technology. All Rights Reserved.