burmese-voice

1.0.3 • Public • Published

burmese-voice

A speech command ai library for Burmese language

Read the documentation Here. Download the model Here.

The library currently can classify 6 burmese words by voice and one additional noise. The voices are

  • Go (သွား)
  • Stop (ရပ်)
  • Left (ဘယ်)
  • Right (ညာ)
  • On (ဖွင့်)
  • Off (ပိတ်)
  • Background Noise

Using BurmeseVoice Model

  let burmeseVoice;

       async function main(){
        const URL = "http://localhost:8000/models/"; // URL must be absolute URL
        burmeseVoice = new BurmeseVoice(URL)
        await burmeseVoice.load();
        console.log(burmeseVoice.getLabels());
       }

       function init(){
        burmeseVoice.listen((result)=>{
            console.log(result);
            const voice = burmeseVoice.getBestResult(result.scores);
            console.log(voice);
        });
       }

       function stop(){
        burmeseVoice.stopListening();
       }

       main();

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.3
    3
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.3
    3
  • 1.0.2
    1
  • 1.0.1
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i burmese-voice

Weekly Downloads

4

Version

1.0.3

License

MIT

Unpacked Size

958 kB

Total Files

9

Last publish

Collaborators

  • minsithu