Coder Social home page Coder Social logo

talater / annyang Goto Github PK

View Code? Open in Web Editor NEW
6.6K 242.0 1.0K 1.44 MB

:speech_balloon: Speech recognition for your site

Home Page: https://www.talater.com/annyang/

License: MIT License

JavaScript 98.18% HTML 1.82%
speech-recognition speech speech-to-text voice hacktoberfest

annyang's People

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  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

annyang's Issues

Allow OR in rules

e.g.

  var commands = {
    'show||display tps report': function() { $('#tpsreport').show(); }
  };

Can receive a routing object

For example

annyang.addNavigation({
  'apple tv': 'http://store.apple.com/us/ipod/ipod-accessories/apple-tv',
  'ipod nano': 'http://store.apple.com/us/buy-ipod/ipod-nano',
  'monitors': 'http://store.apple.com/us/mac/mac-accessories/displays'
});

Should also be able to get multiple phrases for one url.

is it possible to use this with node-webkit?

I'm just learning node-webkit and also just found this library today. It works great in the chrome browser, and I am able to get a audio stream in my hello world node-webkit application via the webkitGetUserMedia plugin. But annyang doesn't seem to be working. No errors, just not doing anything.

By the way, just testing with a simple command:

 var commands = {
        'go away': function() {
          window.close();
        }
      };

      annyang.init(commands);
      annyang.start();

Improve docs

  • Pages hosted on HTTPS do not need to ask repeatedly for permission, whereas HTTP hosted pages do.

Add multi language support

annyang already supports receiving commands in any language.
Just call:

// choose language
annyang.setLanguage('it-IT');

// define commands in that language
annyang.init({
  'mi chiamo *name': sayHello
});

Need to add support for defining rules in multiple languages, and then a user should be able to just change the language without redefining rules:

// choose language
annyang.setLanguage('it-IT');

// define commands in that language
annyang.init(
  'it-IT': {
    'mi chiamo *name': sayHello
  },
  'en' : {
    'my name is *name': sayHello
  }
});

annyang.setLanguage('en');
// now annyag recognizes English
annyang.setLanguage('it-IT');
// now annyag recognizes Italian

See how this can be added without breaking existing code (can define either multiple languages, or one)

Add option to highlight permission request

Show visual cue to user that he needs to approve use of mic.
Perhaps an overlay on the page that draws attention to the notice. This can have an optional text message.
Consider building as an optional external component, plugin.

Add link to the GitHub repo

@TalAter I consider that it might be useful to add a link to this GitHub repo on the site. "Let's get started!" doesn't work for a good portion of the people visiting your website, portion from which a few would also be interested in the implementation/issues regarding the library.

Plugin: Password input

Plugin for entering passwords.

Enter easy-to-remember, super-long, super-strong passwords quick and easy by saying them instead of typing them... e.g. "I ran out of oysters so I ran to the bank"

Not compatible with android browser

I have tried to get it working and have had no luck. Any plans to make this possible in the future. I have a project that would really benefit from this!

Crash when two tab use annyang

Hi,

When I open two tab or more with annyang the last tab works but the other crach are they anyway to avoid these (like do not load annayang if annayang is used by another tab) ?

Improve flickr demo

  • Maybe a powered by flickr box.
  • Change number of results shown
  • Add spinning loader while loading
  • Show what is being searched

Add support for debug mode

annyang.debug() or annyang.debug(true) should turn on debug mode which will output more data to console. including recognized text, and more.

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.