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

[FR] Expand timer naming words #2515

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

bors-ltd
Copy link

I find it more natural to say "start a 5 minutes timer for the pizza".

The "surnommé" typo isn't strictly necessary, but it was bothering me.

Copy link

@home-assistant home-assistant bot left a comment

Choose a reason for hiding this comment

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

Hi @bors-ltd

It seems you haven't yet signed a CLA. Please do so here.

Once you do that we will be able to review and accept this pull request.

Thanks!

@home-assistant
Copy link

Please take a look at the requested changes, and use the Ready for review button when you are done, thanks 👍

Learn more about our pull request process.

@jlpouffier
Copy link
Contributor

@bors-ltd Is the PR ready for review?
(Of yes mark it as such, I'll review it gladly ;) )

@bors-ltd
Copy link
Author

Sorry, I was so excited when I found out Home Assistant had voice commands, I got carried away. It reminded me of Snips, glad I kept the devkit. Only later I noticed the test suite, and realised my changes were not covered. But I got busy today and couldn't come back to it. I'll ping you when it's thoroughly tested, and hopefully on real hardware when my ESP32 is delivered.

I find it more natural to say "start a 5 minutes timer for the pizza",
or "how much left for the pizza".

Also fixed a few typos.
@bors-ltd
Copy link
Author

Now I feel like pretty happy with the state of that PR, and confident to ask for a review.

Please note I'm new to HA, so it may likely not meet your quality standards, and I can accept criticism, even nitpicking.

Hopefully I didn't reach any hard limit with Whisper's current capabilities.

@bors-ltd bors-ltd marked this pull request as ready for review November 13, 2024 13:14
expansion_rules:
appele: "(appelé|nommé|surnomé)"
appele: "(appelé|nommé|surnommé|pour)"
Copy link
Member

@piitaya piitaya Nov 13, 2024

Choose a reason for hiding this comment

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

Suggested change
appele: "(appelé|nommé|surnommé|pour)"
appele: "(appelé|nommé|surnommé|pour [<le>])"

I wonder if we should just use this expansion rule as "Met un minuteur appelé la pizza" doesn't make sense.

WDYT @jlpouffier ?

Copy link
Author

Choose a reason for hiding this comment

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

I like the idea of limiting the risk of regression for my own use case. I'll try and test on my side.

Copy link
Member

@piitaya piitaya left a comment

Choose a reason for hiding this comment

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

Thank you for the very good job ! I just have a small comment about the implementation but overall it's pretty good 😀

Copy link
Member

@piitaya piitaya left a comment

Choose a reason for hiding this comment

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

Also, we decided to have "Il reste combien" and "Combien de temps" but not "Combien" alone as it's too generic. Having one of the vert "reste" or the word "temps" must be required to avoid interference with other intents. "Combien" alone should be avoided.

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.

3 participants