Giter Club home page Giter Club logo

angular-adaptive-speech's People

Contributors

0x-r4bbit avatar janantala avatar robinboehm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

angular-adaptive-speech's Issues

Test

add more tests

no-speech error

No-speech error is raised if no speech (or hello speak) is recognized after start.

Unite listenUtterance and directive options

Currently listenUtterance accepts one object and directive accepts array of objects.

The goal is to unite configurations - listenUtterance and directive will accept object or array of objects.

continuous listening

@janantala @PascalPrecht @robinboehm hi,
how can i use this with timestamp $speechRecognition.listen() or to make it continuous listening until user say please stop and it perform a task regarding stop this is my code

// register tasks commands
      var task = [
       ... // other task
       {
        'regex': /(.+ )?please stop( .+)?/gi,
        'lang': 'en-US',
        'call': function(e){
          console.info('ok, stoping ..........................');
          $speechRecognition.stopListening();
        }
      }]

// watch also tasks commands
    $speechRecognition.listenUtterance(task);

// start listening user voice
      $speechRecognition.listen();

please help

Learning by storing bad results as future guessing reference

Hi there,

Thanks for this great toy.

Humans can interpretate badly spoken sentences

and can guess the right intentions. The computer should learn how to make right guesses.

To make the speech control work.. I need to become a speech acrobat.

What I do is try different English accents, or Dutch accents.. or even say the English words like if they were Dutch.. just to get the speech computer WORKING.
This get's shitty pretty fast.. so my plan is to stop making an effort and go with the error flow.

Without context, you cant guess

Like when I would say: understand
The result of the speech might be: on the sand
Without context.. nobody would on the sand me ( :] )

But wait.. there is context

Ofcourse we do have context when we build or own app. The app is the context.
Secondly and fortunatly, most apps have limited functionality.
Apps can add posts, send messages, create events.. and maybe a couple of things more.

Limited functionality makes an easy learning place

Let's say that we want to add a new post to our website by speech.
I would say: add a new post
Speechcomputer might return: at ale new pushed
App does: nothing

Because we have limited functionality, we can store the bad result
as a synonym for the right result.
So the next time:
I would say: add a new post
Speech computer might return: at ale new pushed
App does: Adding new post

Plan is to test it some day soon.

  1. Setup and API with PHP/SQL/ANGULAR with routes that lead to actions
  2. Make up sentence commands that lead to the actions in step 1
  3. When a result does not match, my app will ask me what I wanted to do.
    I select the expected action and store the unmatched in a database
    and use it as reference. So the next time, the same mistake will lead to
    a good result action. Maybe doing pattern matching or database find score,
    to let the app 'feel more confident'.
  4. After doing step 3 many times, My app will give better results.

So by doing this, I expect to have an app that will 'grow' on it's owner after a while.

What do you think?

Docs

write and improve ng-docs

New release

Hello there!
So a big update is coming in v0.3.0:

  • update to AngularJS 1.2.x
  • create a provider
  • improve performance
  • refactor methods
  • allow to manually fire utterance
  • store bad utterance results #10

Check out canary branch.

How to store bad results?

There will be a public method onUtterance with recognised string so user can edit and save this string. For each language there will be a local hash map of these bad recognitions. After next bad recognition a bad string will be replaced from the hash map. Plan is to have the hash map configurable and easy to download from a server in the future releases.

Feel free to comment an suggest new ideas!

demo site does not work

Hey Jan,

it seems to be an interesting project but its not really well show cased as your demo site does not take any voice input from my experience.

Gulp

Use gulp build system

can i add the regex pattern in addUtterance also?

we are using regex in $speechRecognition.listenUtterance, i want to add the same regex pattern also there

like so but i ain't able to add, can you please help

$speechCorrection.addUtterance({ 'regex': /^is .+/gi }, 'do something', 'en-US');

thanks

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.