Vocabs¶
Vocabulary¶
KsponSpeechVocabulary¶
-
class
kospeech.vocabs.ksponspeech.KsponSpeechVocabulary(vocab_path, output_unit: str = 'character', sp_model_path=None)[source]¶ -
label_to_string(labels)[source]¶ Converts label to string (number => Hangeul)
- Parameters
labels (numpy.ndarray) – number label
- Returns: sentence
sentence (str or list): symbol of labels
-