Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/matteogabriele/vue-speech
Web SpeechRecognition for Vue (beta) :microphone:
https://github.com/matteogabriele/vue-speech
Last synced: about 2 months ago
JSON representation
Web SpeechRecognition for Vue (beta) :microphone:
- Host: GitHub
- URL: https://github.com/matteogabriele/vue-speech
- Owner: MatteoGabriele
- Created: 2017-09-27T11:54:33.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2021-03-08T05:22:07.000Z (almost 4 years ago)
- Last Synced: 2024-10-31T22:42:05.221Z (about 2 months ago)
- Language: JavaScript
- Homepage:
- Size: 5.49 MB
- Stars: 50
- Watchers: 3
- Forks: 15
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# vue-speech
Interact with the new Web Speech Recognition Api.
> Currently available only in Chrome and Firefox
![alt tag](https://raw.githubusercontent.com/MatteoGabriele/vue-speech/master/example.gif)
### The plugin will obviously have more features, if you have any requests or ideas, drop me an issue :)
## Install
```bash
npm install vue-speech
``````js
import Vue from 'vue'
import VueSpeech from 'vue-speech'Vue.use(VueSpeech)
```## Usage
```html
export default {
}```
### Change language
```html
```
### Return speech data
```html
export default {
methods: {
onEnd ({ lastSentence, transcription }) {
// `lastSentence` is the last sentence before the pause
// `transcription` is the full array of sentences
}
}
}```
# Issues and features requests
Please drop an issue, if you find something that doesn't work, or a feature request at [https://github.com/MatteoGabriele/vue-speech/issues](https://github.com/MatteoGabriele/vue-speech/issues)
Follow me on twitter [@matteo\_gabriele](https://twitter.com/matteo_gabriele)