@@ -53,7 +53,7 @@ Install Dependencies
5353 $ virtualenv env
5454 $ source env/bin/activate
5555
56- #. Install the dependencies needed to run the samples .
56+ #. Install the dependencies needed to run the sample .
5757
5858 .. code-block :: bash
5959
@@ -62,7 +62,7 @@ Install Dependencies
6262 .. _pip : https://pip.pypa.io/
6363.. _virtualenv : https://virtualenv.pypa.io/
6464
65- Samples
65+ Sample
6666-------------------------------------------------------------------------------
6767
6868Quickstart
@@ -81,58 +81,6 @@ To run this sample:
8181 $ python quickstart.py
8282
8383
84- Snippets
85- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
86-
87- .. image :: https://gstatic.com/cloudssh/images/open-btn.png
88- :target: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/GoogleCloudPlatform/python-docs-samples&page=editor&open_in_editor=language/cloud-client/v1/snippets.py,language/cloud-client/v1/README.rst
89-
90-
91-
92-
93- To run this sample:
94-
95- .. code-block :: bash
96-
97- $ python snippets.py
98-
99- usage: snippets.py [-h]
100- {classify-text,classify-file,sentiment-entities-text,sentiment-entities-file,sentiment-text,sentiment-file,entities-text,entities-file,syntax-text,syntax-file}
101- ...
102-
103- This application demonstrates how to perform basic operations with the
104- Google Cloud Natural Language API
105-
106- For more information, the documentation at
107- https://cloud.google.com/natural-language/docs.
108-
109- positional arguments:
110- {classify-text,classify-file,sentiment-entities-text,sentiment-entities-file,sentiment-text,sentiment-file,entities-text,entities-file,syntax-text,syntax-file}
111- classify-text Classifies content categories of the provided text.
112- classify-file Classifies content categories of the text in a Google
113- Cloud Storage file.
114- sentiment-entities-text
115- Detects entity sentiment in the provided text.
116- sentiment-entities-file
117- Detects entity sentiment in a Google Cloud Storage
118- file.
119- sentiment-text Detects sentiment in the text.
120- sentiment-file Detects sentiment in the file located in Google Cloud
121- Storage.
122- entities-text Detects entities in the text.
123- entities-file Detects entities in the file located in Google Cloud
124- Storage.
125- syntax-text Detects syntax in the text.
126- syntax-file Detects syntax in the file located in Google Cloud
127- Storage.
128-
129- optional arguments:
130- -h, --help show this help message and exit
131-
132-
133-
134-
135-
13684 The client library
13785-------------------------------------------------------------------------------
13886
0 commit comments