onEnd() {
    const { onStop, onEnd, force } = this.state;
    this.setState({ speaking: false });
    if (force) {
      onStop();
    } else {
      onEnd();
    }
  }
Handler for recognition end event
@memberof Recognition
@private