Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimized "end-of-corpus" handling (fixing issue #38) #70

Merged
merged 3 commits into from
Oct 27, 2021
Merged

Optimized "end-of-corpus" handling (fixing issue #38) #70

merged 3 commits into from
Oct 27, 2021

Conversation

thorstenMueller
Copy link
Contributor

Description

When last phrase of corpus has been recorded the last phrase will be shown again and again and again ... and an exception is logged on the commandline (see issue #38).

Bildschirmfoto 2021-10-24 um 13 40 12

Now following phrase in shown in frontend when corpus has been completely recorded.

Type of PR

  • Bugfix
  • Feature implementation
  • Refactor of code (without functional changes)
  • Documentation improvements
  • Test improvements

Testing

Use a small corpus file and record all phrases. Check console log when last recorded is done if no exception is logged. Text *no more phrases in corpus to record* should be shown in frontend.

Documentation

Docstring in backend has been updated.

@thorstenMueller
Copy link
Contributor Author

Hi @krisgesling 👋 .
Do you think you can find some time to review/merge the PR during this week? But I don't want to rush you.

Copy link
Collaborator

@krisgesling krisgesling left a comment

Choose a reason for hiding this comment

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

In time we should add fireworks and champagne but this looks good for now :P

@krisgesling krisgesling merged commit 35d030a into MycroftAI:master Oct 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants