gruut
gruut copied to clipboard
A tokenizer, text cleaner, and phonemizer for many human languages.
For better readability, Move the positions of scope_kwargs(), in_inline_lexicon(), and process_sentence() within process() to the top of the process() code.
dateparser 1.1.0 has a nasty bug that's [fixed in 1.1.1](https://github.com/scrapinghub/dateparser/releases/tag/v1.1.1)
eSpeak supports British, so I should be able to run `gruut.sentences(text, lang="en-gb", espeak=True)`, but the results are the same as running `lang="en-us"`. Is there a way to enable eSpeak with...
Hi, problem with python module. I install `pip3 install gruut` but problem not leave. Help me please. Thank you. ``` d1@d1-NBLK-WAX9X:~$ larynx Traceback (most recent call last): File "/usr/lib/python3.8/runpy.py", line...
While exploring Coqui-TTS, i found this: # Table for str.translate to fix gruut/TTS phoneme mismatch GRUUT_TRANS_TABLE = str.maketrans("g", "ɡ") I was wondering how Gruut treats them, as i see the...
I'm currently packaging larynx + deps for Arch Linux and I encountered an issue with gruut: setuptools includes the tests in the package, which does not play well with Arch...
``` $ python setup.py test ====================================================================== ERROR: test_lexicon_external (tests.test_ssml.SSMLTestCase) Test from URI ---------------------------------------------------------------------- Traceback (most recent call last): File "/nix/store/rppr9s436950i1dlzknbmz40m2xqqnxc-python3-3.9.9/lib/python3.9/urllib/request.py", line 1503, in open_local_file stats = os.stat(localfile) FileNotFoundError: [Errno 2]...
Right now, from my testing '€10,50' is parsed correctly. But in Europe, we usually write '10,50€' or '10,50 €'. https://en.wikipedia.org/wiki/Euro_sign We could maybe have a currency_before bool parameter that's dependent...
```python from gruut import sentences text = 'He wound it around the wound, saying "I read it was $10 to read."' for sent in sentences(text, lang="en-us"): for word in sent:...
It seems a `for word in sent:` was forgotten :)