SentenceProcessor

Trait SentenceProcessor 

Source
pub trait SentenceProcessor {
    // Required methods
    fn get_text_for_bert(&self) -> String;
    fn get_word2ph(&self) -> &[i32];
    fn get_phone_ids(&self) -> &[i64];
}

Required Methods§

Source

fn get_text_for_bert(&self) -> String

Source

fn get_word2ph(&self) -> &[i32]

Source

fn get_phone_ids(&self) -> &[i64]

Implementors§