Git Product home page Git Product logo

vosk4tasker's Introduction

  • Voice recognition?
  • At this time of year?
  • At this time of day?
  • In this part of the country?
  • Localized, entirely within your phone?

Yes, and you may see it:

VOSK4Tasker

VOSK4Tasker uses Alpha Cephei's Vosk speech recognition toolkit, and glues it for use with Tasker.

The APK is ~50 MBs. Be careful with your data plan!

Building

  1. Run ./scripts/english.sh (change english with a different language if exists)
  2. Build under Android Studio
  3. profit

Manual language model download

If you're not under Linux, or just want to download a different model, here's how to download the models manually.

  1. Go to https://alphacephei.com/vosk/models
  2. Pick a small model (example: vosk-model-small-tr-0.3)
  3. Download zip and extract
  4. Rename the folder inside zip to model
  5. Place it as app/src/main/assets/model

Usage

After installation, Tasker should recognize this and give you an option to add a new action from the "Plugin" menu. In the action, set "Prompt" to what you want the user to see when asked for speech input, and you're done. The variable %text is your speech to text output.

vosk4tasker's People

Contributors

admicos avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

vosk4tasker's Issues

Runtime model downloading

Baking the models into the app isn't as flexible as I'd like, though I have no idea how I would download them at run time anyway so this is here just in case someone has any ideas on how.

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.