Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update GoogleSpeechProcessor.java #5

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Commits on Jan 21, 2018

  1. Update GoogleSpeechProcessor.java

    Getting errors when multiple result segments come back from Google (session.transfer is called more than once). I've updated the processor to handle those but adding the metrics to the FlowFile doesn't really make sense in that context. We will have to compute aggregate metrics if we want to add them to the FlowFile.
    
    Additionally, I found the S2T works with 8000Hz sample rate. We should probably put this into the processor as a configuration setting, I've hard-coded for now to get it working.
    anarasimham authored Jan 21, 2018
    Configuration menu
    Copy the full SHA
    a123a9b View commit details
    Browse the repository at this point in the history

Commits on Jan 23, 2018

  1. processor was erroring out when no results or exception thrown. Also …

    …fixed aggregate metrics, refactored
    Ashish Narasimham authored and Ashish Narasimham committed Jan 23, 2018
    Configuration menu
    Copy the full SHA
    39903f1 View commit details
    Browse the repository at this point in the history

Commits on Jan 25, 2018

  1. added several custom properties to configure the processor - bit rate…

    … and data source (whether bytes or GCS URI) - and added the appropriate logic to handle that. Also changed synchronous requests to asynchronous requests to accommodate audio files over 1 minute in length. Future improvement: decide whether to create sync or async request based on audio length
    Ashish Narasimham authored and Ashish Narasimham committed Jan 25, 2018
    Configuration menu
    Copy the full SHA
    5def5e3 View commit details
    Browse the repository at this point in the history