async loop() {
    let recognition = await this.bumblebee.recognize();
    let inputText = recognition.text;
    inputText = textPostProcess(inputText);
    console.log('recognition:', inputText);
    this.bumblebee.console(inputText);

    // Call Pia
    let response = await gPiaClient.intentParser.startApp(inputText);

    this.bumblebee.console(response);
    await this.bumblebee.say(response);
  }
// loop() is called repeatedly and waits for speech-to-text recognition events
loop() is called repeatedly and waits for speech-to-text recognition events
loop () is called repeatedly and waits for speech - to - text recognition events
async loop() {
    let recognition = await this.bumblebee.recognize();
    let inputText = recognition.text;
    inputText = textPostProcess(inputText);
    console.log('recognition:', inputText);
    this.bumblebee.console(inputText);
    let response = await gPiaClient.intentParser.startApp(inputText);
    this.bumblebee.console(response);
    await this.bumblebee.say(response);
  }
async loop ( ) { let recognition = await this . bumblebee . recognize ( ) ; let inputText = recognition . text ; inputText = textPostProcess ( inputText ) ; console . log ( 'recognition:' , inputText ) ; this . bumblebee . console ( inputText ) ; let response = await gPiaClient . intentParser . startApp ( inputText ) ; this . bumblebee . console ( response ) ; await this . bumblebee . say ( response ) ; }
loop() is called repeatedly and waits for speech-to-text recognition events
loop () is called repeatedly and waits for speech - to - text recognition events
// Call Pia