#2544·espeak-ng

Proposal to improve the processing of time values (hours and minutes) in the Russian part of eSpeak-NG

Author: AlexanderKhalmaktanovCreated Sep 11, 2026Updated Sep 11, 2026

Hello, @Kostenkov-2021! I remember your Pull Request that fixed the processing of decimal fractions in the Russian version of the eSpeak-NG synthesizer. This time, I suggest you implement the ability to correctly read hours and minutes in the HH:MM format, if that’s possible. The essence of the proposal is as follows: it is necessary to add fragments from which eSpeak-NG would assemble the correct pronunciation of hours and minutes: 00:00 would be read as “ноль часов ровно”, 14:41 as “четырнадцать часов сорок одна минута” and so on. That is, we don’t touch the numerical fragments, but we somehow try to add the correct handling of the colon and everything that comes after it. Below are some example fragments that would be a good idea to include (instead of transcription in the eSpeak-NG system, I’m providing ordinary Russian words):

  1. “Час” (01:MM, 21:MM) (read as “один час …”, “двадцать один час …”).
  2. “Часа” (02:MM, 22:MM, 03:MM, 23:MM, 04:MM, 24:MM, etc.) (read as “два часа ...”, “двадцать два часа ...”, etc.).
  3. “Часов” (05:MM, 06:MM, 07:MM, 08:MM, etc., up to and including 20:MM) (read as “пять часов ...”, “шесть часов ...”, etc.);
  4. “Минута” (HH:01, HH:21, HH:31, HH:41, HH:51) (read as “... двадцать одна минута” (for example: “один час двадцать одна минута”)) (01:21);
  5. “Минуты” (HH:02, HH:03, HH:04, HH:22, etc.) (for example: “пять часов пятьдесят две минуты”) (05:52);
  6. “Минут” (HH:05, HH:06, HH:07, etc., up to and including HH:20, etc.) (for example: “девятнадцать часов тридцать шесть минут” (19:36);
  7. “Ровно” (HH:00). For example: “восемнадцать часов ровно” (18:00). Notes:
  8. HH — hours (from 00 to 24 inclusive) (two digits);
  9. MM — minutes (from 00 to 59 inclusive) (also two digits). The fragments “одна” and “две” can be omitted (they are already there). I hope you liked my proposal and that it is technically feasible! In any case, feel free to comment on my Issue; I’m always glad to receive feedback! Thank you very much!