Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 63e99d6

Browse filesBrowse files
authored
Remove Natural Language samples not included docs. (GoogleCloudPlatform#3074)
Remove Natural Language samples that are no longer included in product documentation. The samples used for documentation are now located in https://github.com/googleapis/python-language/tree/master/samples/v1 and thus have replaced the samples in this repo.
1 parent bc97f4d commit 63e99d6
Copy full SHA for 63e99d6

File tree

Expand file treeCollapse file tree

4 files changed

+2
-531
lines changed
Filter options
Expand file treeCollapse file tree

4 files changed

+2
-531
lines changed

‎language/cloud-client/v1/README.rst

Copy file name to clipboardExpand all lines: language/cloud-client/v1/README.rst
+2-54Lines changed: 2 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -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

6868
Quickstart
@@ -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

‎language/cloud-client/v1/README.rst.in

Copy file name to clipboardExpand all lines: language/cloud-client/v1/README.rst.in
-2Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@ setup:
2323
samples:
2424
- name: Quickstart
2525
file: quickstart.py
26-
- name: Snippets
27-
file: snippets.py
2826
show_help: true
2927

3028
cloud_client_library: true

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.