Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove Natural Language samples not included docs. #3074

Merged
merged 4 commits into from
Mar 10, 2020
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
56 changes: 2 additions & 54 deletions language/cloud-client/v1/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ Install Dependencies
$ virtualenv env
$ source env/bin/activate

#. Install the dependencies needed to run the samples.
#. Install the dependencies needed to run the sample.

.. code-block:: bash

Expand All @@ -62,7 +62,7 @@ Install Dependencies
.. _pip: https://pip.pypa.io/
.. _virtualenv: https://virtualenv.pypa.io/

Samples
Sample
-------------------------------------------------------------------------------

Quickstart
Expand All @@ -81,58 +81,6 @@ To run this sample:
$ python quickstart.py


Snippets
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

.. image:: https://gstatic.com/cloudssh/images/open-btn.png
: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




To run this sample:

.. code-block:: bash

$ python snippets.py

usage: snippets.py [-h]
{classify-text,classify-file,sentiment-entities-text,sentiment-entities-file,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:
{classify-text,classify-file,sentiment-entities-text,sentiment-entities-file,sentiment-text,sentiment-file,entities-text,entities-file,syntax-text,syntax-file}
classify-text Classifies content categories of the provided text.
classify-file Classifies content categories of the text in a Google
Cloud Storage file.
sentiment-entities-text
Detects entity sentiment in the provided text.
sentiment-entities-file
Detects entity sentiment in a Google Cloud Storage
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: 0 additions & 2 deletions language/cloud-client/v1/README.rst.in
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ setup:
samples:
- name: Quickstart
file: quickstart.py
- name: Snippets
file: snippets.py
show_help: true

cloud_client_library: true
Expand Down
Loading