public interface IAnswerKey
IMarkedSentence
object. The resulting list of multi-word
expressions is used as an answer key that other test lists can be compared
against.Modifier and Type | Method and Description |
---|---|
<T extends IToken> |
getAnswers(IMarkedSentence<T> sentence)
Gets the answer multi-word expressions from the given sentence.
|
<T extends IToken> java.util.List<IMWE<T>> getAnswers(IMarkedSentence<T> sentence)
null
.T
- type of tokens that are contained in the sentence.sentence
- the sentence for which the answers should be retrieved May not
be null
.java.lang.NullPointerException
- if the unit is null
Copyright © 2011 Massachusetts Institute of Technology. All Rights Reserved.