Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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