Constructor and Description |
---|
CmuDict() |
Modifier and Type | Method and Description |
---|---|
boolean |
containsPronunciation(String token) |
String |
getDescription() |
String |
getLanguage() |
Pronunciation |
getMostProbablyPronunciation(String token) |
String |
getName() |
List<Pronunciation> |
getPronunciations(String token) |
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 CmuDict() throws CorpusException
CorpusException
public boolean containsPronunciation(String token)
public List<Pronunciation> getPronunciations(String token)
public Pronunciation getMostProbablyPronunciation(String token)
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 String getLanguage()
getLanguage
in interface Corpus
public String getName()
public String getDescription()
getDescription
in interface Corpus
public Tag.Tagset getTagset()
Copyright © 2011-2014. All Rights Reserved.