public interface CategorizedCorpus extends Corpus
Modifier and Type | Method and Description |
---|---|
Set<String> |
getCategories() |
String |
getLanguage(String category) |
Iterable<Sentence> |
getSentences(String category) |
Iterable<TaggedToken> |
getTaggedTokens(String category) |
Iterable<Tag> |
getTags(String category) |
Iterable<Text> |
getTexts(String category) |
Iterable<String> |
getTokens(String category) |
getDescription, getLanguage, getName, getSentences, getSentences, getTaggedTokens, getTaggedTokens, getTags, getTags, getTagset, getTexts, getTokens, getTokens
Iterable<String> getTokens(String category) throws CorpusException
CorpusException
Iterable<TaggedToken> getTaggedTokens(String category) throws CorpusException
CorpusException
Iterable<Sentence> getSentences(String category) throws CorpusException
CorpusException
Iterable<Tag> getTags(String category) throws CorpusException
CorpusException
Iterable<Text> getTexts(String category) throws CorpusException
CorpusException
String getLanguage(String category) throws CorpusException
CorpusException
Copyright © 2011-2014. All Rights Reserved.