Code Monkey home page Code Monkey logo

Comments (8)

synesthesiam avatar synesthesiam commented on June 12, 2024

Which text to speech system are you using?

from rhasspy.

weavage avatar weavage commented on June 12, 2024

Larynx.

from rhasspy.

synesthesiam avatar synesthesiam commented on June 12, 2024

That sounds like the appropriate gruut package may not be installed then.

from rhasspy.

weavage avatar weavage commented on June 12, 2024

Hmmmm, how would I check? I installed the rhasspy version that comes as an HA add on. It should be whatever the default is for that.

from rhasspy.

weavage avatar weavage commented on June 12, 2024

Found another interesting tidbit digging in the logs. It looks like numbers are being replaced by '#' signs. Using a random sentence to test ordinal numbers and what not I get the following:

[DEBUG:2023-03-27 19:34:02,522] larynx: Phonemes for 'Today is the 27th 1st 2nd 23rd 7': ['#', 't', 'ə', 'd', 'ˈ', 'eɪ', '#', 'ˈ', 'ɪ', 'z', '#', 'ð', 'ə', '#', 'θ', '#', 's', 't', '#', 'n', 'd', '#', 'ɹ', 'd', '#', 's', 'ˈ', 'ɛ', 'v', 'ə', 'n', '#', '‖', '‖']

Note at the end that the seven is translated properly, but the ordinal numbers get turned into '#'s for some reason.

from rhasspy.

weavage avatar weavage commented on June 12, 2024

Sorry, should have noted that right above that i see this:

[DEBUG:2023-03-27 19:34:00,716] gruut.phonemize: Guessing pronunciations for {'27th'}
[DEBUG:2023-03-27 19:34:00,719] phonetisaurus: ['phonetisaurus-apply', '--model', '/usr/lib/rhasspy/.venv/lib/python3.7/site-packages/gruut/data/en-us/g2p.fst', '--word_list', '/tmp/tmpccme_ugu.txt', '--nbest', '1']
[DEBUG:2023-03-27 19:34:02,522] larynx: Words for 'Today is the 27th 1st 2nd 23rd 7': ['today', 'is', 'the', '27th', '1st', '2nd', '23rd', 'seven']

So it looks like it's attempting to do SOMETHING with gruut.

from rhasspy.

synesthesiam avatar synesthesiam commented on June 12, 2024

The phonetisaurus model doesn't contain digits, so it's dropping those and just guessing the pronunciation of "th" and "st" for "27th" and "1st", etc.

Newer version of gruut can handle this, but Rhasspy 2.5.11 may be on the older one.

from rhasspy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.