Skip to content

Speech infinite vs indefinite streaming - doc request #2435

Closed

Description

@bbookman

It would be crazy helpful to know the purpose of each of these two. What, exactly, is the difference between indefinite and infinite. I'm asking for simple English such that the user does not have to dig through the code to understand

python-docs-samples/speech/microphone/

  • transcribe_streaming_indefinite.py
  • transcribe_streaming_infinite.py

Activity

  1. bbookman commented on Oct 4, 2019

    @bbookman
    Author

    I did notice this comment. I'm not sure exactly how this is better or worse or the use case.

    adding infinite streaming sample to samples folder, unlike indefinite streaming, this sample uses result_end_time to calculate unfinalized audio, and to resend it to maintain context across into the next streaming request

    Also, I think this rises above the need for a comment. There is a clear need for readme.md update or other method of more formal documentation and clarification

  2. bbookman commented on Oct 4, 2019

    @bbookman
    Author

    I'm now wondering about transcribe_streaming_mic.py as well. I'd like to see documentation on the use case for each of these.

  3. added
    type: docsImprovement to the documentation for an API.
    type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.
    api: speechIssues related to the Speech-to-Text API.
    and removed
    🚨This issue needs some love.
    triage meI really want to be triaged.
    on Nov 15, 2019
  4. nnegrey commented on Dec 17, 2019

    @nnegrey
    Contributor

    Docs links:

    transcribe_streaming_infinite.py: https://cloud.google.com/speech-to-text/docs/endless-streaming-tutorial

    transcribe_streaming_mic.py: https://cloud.google.com/speech-to-text/docs/streaming-recognize#speech-streaming-mic-recognize-python

    Will delete transcribe_streaming_indefinite.py as that is not hosted on our docs site.

  5. nnegrey commented on Dec 17, 2019

    @nnegrey
    Contributor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

api: speechIssues related to the Speech-to-Text API.type: docsImprovement to the documentation for an API.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions