Modifier and Type | Class and Description |
---|---|
static class |
StopwordsCorpus.StopwordsLanguage |
Constructor and Description |
---|
StopwordsCorpus(StopwordsCorpus.StopwordsLanguage language) |
Modifier and Type | Method and Description |
---|---|
String |
getDescription() |
String |
getLanguage() |
String |
getName() |
Iterable<Sentence> |
getSentences() |
Iterable<Sentence> |
getSentences(int maxItems) |
Iterable<TaggedToken> |
getTaggedTokens() |
Iterable<TaggedToken> |
getTaggedTokens(int maxItems) |
Iterable<Tag> |
getTags() |
Iterable<Tag> |
getTags(int maxItems) |
Tag.Tagset |
getTagset() |
Iterable<Text> |
getTexts() |
Iterable<String> |
getTokens() |
Iterable<String> |
getTokens(int maxItems) |
public StopwordsCorpus(StopwordsCorpus.StopwordsLanguage language) throws CorpusException
CorpusException
public Iterable<String> getTokens() throws CorpusException
getTokens
in interface Corpus
CorpusException
public Iterable<String> getTokens(int maxItems) throws CorpusException
getTokens
in interface Corpus
CorpusException
public Iterable<TaggedToken> getTaggedTokens() throws CorpusException
getTaggedTokens
in interface Corpus
CorpusException
public Iterable<Sentence> getSentences() throws CorpusException
getSentences
in interface Corpus
CorpusException
public Iterable<Tag> getTags() throws CorpusException
getTags
in interface Corpus
CorpusException
public Iterable<Text> getTexts() throws CorpusException
getTexts
in interface Corpus
CorpusException
public Iterable<TaggedToken> getTaggedTokens(int maxItems) throws CorpusException
getTaggedTokens
in interface Corpus
CorpusException
public Iterable<Sentence> getSentences(int maxItems) throws CorpusException
getSentences
in interface Corpus
CorpusException
public Iterable<Tag> getTags(int maxItems) throws CorpusException
getTags
in interface Corpus
CorpusException
public Tag.Tagset getTagset() throws CorpusException
getTagset
in interface Corpus
CorpusException
public String getLanguage()
getLanguage
in interface Corpus
public String getName()
public String getDescription()
getDescription
in interface Corpus
Copyright © 2011-2014. All Rights Reserved.