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

Sentence capitalization and punctuation not working as in demo #75

Open
joelostblom opened this issue Dec 27, 2022 · 3 comments
Open

Sentence capitalization and punctuation not working as in demo #75

joelostblom opened this issue Dec 27, 2022 · 3 comments

Comments

@joelostblom
Copy link

joelostblom commented Dec 27, 2022

First of all, thanks for creating this! I am very excited to see such an accurate, accessible and extendable voice typing solution on Linux!

The youtube demo is very exciting and I would love to voice type with that accuracy. However, when I try to set it up myself, there seems to be no punctuation added. This is the command I am running:

./nerd-dictation begin --full-sentence --punctuate-from-previous-timeout 2 &

The first sentence is capitalized but no matter how long I wait there is no punctuation added. I have tried with different models, and all produce the same result. I initially thought that there was some background noise keeping the mic alive, but the --timeout option works as expected so that can't be it. Adding --continuous makes each new sentence capitalize, but punctuation is still missing.

After looking around a bit it seems like there is a bug that make the variable is_run_on never evaluate to true since age_in_seconds is always a really high number. However, even after manually setting is_run_on to True, I get only commas inserted unless I use the --full-sentence option in which case only periods are inserted. How can I include a mix of the two as in the demo video? Instructions of how to replicate the behavior in the video would be very helpful.

Related issues:

@sayan1999
Copy link

I do see the same issue, the overall app is amazing, once this punctuation gets working it will be very useful for rigorous dictation.

@MBybee
Copy link

MBybee commented Oct 19, 2023

I've noticed this as well. If I have a rule for "period" and I actually say period, it will add it. Adding merely a pause it will butt the next sentence right to the prior with neither punctuation nor space.
Is there a way to fix that other than a regex?

@sunberrysolar
Copy link

Same issue here. Someone found a solution?
It is so sad this app just fail because of missing capitalization (punctuation can be add with keyboard, but not caps)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants