Git Product home page Git Product logo

Comments (5)

p-i- avatar p-i- commented on July 20, 2024

If you could just hook the did_complete of the Dictation tool and use AI to post-process and re-render the affected text, maybe this would do the job. If that's possible...

from vscode.

p-i- avatar p-i- commented on July 20, 2024

Here's an example of the duplicate-text bug.

I'm speaking test 123 optionally followed by full stop or new paragraph and then hitting BACKSPACE or ENTER, or LEFT-ARROW, or 'a' or pretty much anything it seems.

It seems that if I don't allow enough silence for it to 'settle down' after I've said 'full stop', the utterance text gets double-injected into the window.

In TextEdit I can't replicate this particular fail. It isn't 100% right there either. It is inserting unwanted newline characters.

Screen.Recording.2024-05-30.at.09.34.53.mov

from vscode.

p-i- avatar p-i- commented on July 20, 2024

Here's a demo of the wordwrap + superposition issue:

Screen.Recording.2024-05-30.at.09.49.52.mov

from vscode.

p-i- avatar p-i- commented on July 20, 2024

Here's an example of the Capitilization-of-start-of-new-phrase problem:

  • First example: I'm just pausing before 'in the plane'
  • Second example: 'the rain in spain stays mainly', off the dictation, on it, 'in the plane'
  • Third example (fail): 'the rain in spain stays mainly', pause, add a space via keyboard, 'in the plane'

There are other situations where I get a Capitalization fail, e.g. inserting the cursor into a sentence and speaking.

Screen.Recording.2024-05-30.at.09.57.12.mov

This one is probably a really tricky fix, as macOS dictation assistant is clearly scraping the text for the active window and operating over that.

I think a VS code native speech tool would be a much appreciated feature!

from vscode.

p-i- avatar p-i- commented on July 20, 2024

Here's a nice repeatable minimal testcase for duplication.

All I do here is double-tap Fn to invoke the macOS speech-to-text assistant and speak "Test 123" followed by a couple of seconds of silence followed by "New paragraph".

And then I just wait.

Firstly it DOESN'T create a new paragraph, just a couple of spaces.
Secondly, once it times out it dumps a duplicate of the utterance.

Screen.Recording.2024-06-02.at.12.15.05.mov

from vscode.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.