mirror of
https://github.com/pstrueb/piper.git
synced 2026-04-28 02:34:50 +00:00
Print phonemes with missing ids
This commit is contained in:
@@ -126,6 +126,10 @@ void phonemes2ids(vector<Phoneme> &phonemes, PhonemizeConfig &phonemizeConfig,
|
||||
phonemeIds.push_back(phonemizeConfig.idPad);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
string phonemeStr;
|
||||
utf8::append(*phoneme, phonemeStr);
|
||||
cerr << "[WARN] No id for phoneme: " << phonemeStr << endl;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user