Skip to content

Easily continue in any language #4

@sloganking

Description

@sloganking

https://github.com/sloganking/desk-talk/blob/7e4d89c2570a9912f807abaf517e3ae81f2eb3c7/src/main.rs#L409-L418C57

The code above was added in order to make it so that when you stop pushing to talk and resume pushing to talk, you don't have to press space or period in between the messages. It will be seamless instead. However, the above code is simply a hack that works most of the time in only English and other languages may have different punctuation and styles of writing, so it should really be removed in favor of a better solution. Perhaps something using a large language model to figure out whether to add punctuation at the end or not.

I could also make adding a period in a space done if a clap CLI arg is passed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions