Skip to content
This repository was archived by the owner on Sep 8, 2024. It is now read-only.

Conversation

forslund
Copy link
Collaborator

Description

  • Add tests to the base class of the tts, Mimic, Mimic2 and Google.
  • Moves code away from mycroft/tts/__init__.py
  • Fixes issue with Mimic2 sentence preprocessing.

How to test

Make sure mimic1, mimic2 and google still works and that the Travis tests passes.

Contributor license agreement signed?

CLA [ Yes ]

@devs-mycroft devs-mycroft added the CLA: Yes Contributor License Agreement exists (see https://github.com/MycroftAI/contributors) label Jan 10, 2020
Removes duplicated code and makes method easier to test
- Tests for TTS base class
- Test for TTS playback queue
- Test for TTS Factory create
- Tests for Mimic2 TTS
- Tests for Mimic TTS
- Tests for Google TTS
tts.py:
- remove unused import
-remove unused variable
- init TTS thread enclosure member
mimic2_tts.py: Fix docstrings
mimic_tts: Fix docstrings and remove unused variables and imports
google_tts: Improve docstrings
Copy link
Member

@chrisveilleux chrisveilleux left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice bit of refactoring and testing. Thanks for doing this.

@forslund
Copy link
Collaborator Author

$(DEITY_OF_CHOICE) knows it's long overdue.

@forslund forslund merged commit 80b3ffb into MycroftAI:dev Jan 13, 2020
@forslund forslund deleted the refactor/tts branch January 13, 2020 14:24
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
CLA: Yes Contributor License Agreement exists (see https://github.com/MycroftAI/contributors)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants