The main page lists Russian as one of the languages supported, however when I run a script to phonemize Russian, the phoneme array is set to null. This script works fine for the languages English, French and Spanish.
How can I get the phonemes for Russian?
from gruut import sentences
text = 'Чайка приземлилась на крышу.'
for sent in sentences(text, lang="ru-ru"):
for word in sent:
if word.phonemes:
print(word.text, *word.phonemes)
The main page lists Russian as one of the languages supported, however when I run a script to phonemize Russian, the phoneme array is set to null. This script works fine for the languages English, French and Spanish.
How can I get the phonemes for Russian?