diff --git a/language/cloud-client/README.rst b/language/cloud-client/README.rst index a0259ce9e866..bfa46d473606 100644 --- a/language/cloud-client/README.rst +++ b/language/cloud-client/README.rst @@ -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 diff --git a/speech/cloud-client/transcribe_async.py b/speech/cloud-client/transcribe_async.py index bbf67355308e..fd0a0340b1c4 100644 --- a/speech/cloud-client/transcribe_async.py +++ b/speech/cloud-client/transcribe_async.py @@ -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