Skip to content

Commit

Permalink
Update transcribe_async.py to have long GCS flac example (#904)
Browse files Browse the repository at this point in the history
  • Loading branch information
danaharon authored and Jon Wayne Parrott committed Apr 17, 2017
1 parent 32c44f7 commit 8efd5f1
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 1 deletion.
37 changes: 37 additions & 0 deletions language/cloud-client/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,43 @@ To run this sample:
$ python quickstart.py
Snippets
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



To run this sample:

.. code-block:: bash
$ python snippets.py
usage: snippets.py [-h]
{sentiment-text,sentiment-file,entities-text,entities-file,syntax-text,syntax-file}
...
This application demonstrates how to perform basic operations with the
Google Cloud Natural Language API
For more information, the documentation at
https://cloud.google.com/natural-language/docs.
positional arguments:
{sentiment-text,sentiment-file,entities-text,entities-file,syntax-text,syntax-file}
sentiment-text Detects sentiment in the text.
sentiment-file Detects sentiment in the file located in Google Cloud
Storage.
entities-text Detects entities in the text.
entities-file Detects entities in the file located in Google Cloud
Storage.
syntax-text Detects syntax in the text.
syntax-file Detects syntax in the file located in Google Cloud
Storage.
optional arguments:
-h, --help show this help message and exit
The client library
Expand Down
2 changes: 1 addition & 1 deletion speech/cloud-client/transcribe_async.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
Example usage:
python transcribe_async.py resources/audio.raw
python transcribe_async.py gs://cloud-samples-tests/speech/brooklyn.flac
python transcribe_async.py gs://cloud-samples-tests/speech/vr.flac
"""

import argparse
Expand Down

0 comments on commit 8efd5f1

Please sign in to comment.