Module: Google::Cloud::Language::V1
- Defined in:
- lib/google/cloud/language/v1/doc/google/cloud/language/v1/language_service.rb,
lib/google/cloud/language/v1.rb,
lib/google/cloud/language/v1/doc/overview.rb,
lib/google/cloud/language/v1/language_service_client.rb
Overview
Google Cloud Natural Language API Contents
Class | Description |
---|---|
LanguageServiceClient | Google Cloud Natural Language API provides natural language understanding technologies to developers. Examples include sentiment analysis, entity recognition, and text annotations. |
Data Types | Data types for Google::Cloud::Language::V1 |
Defined Under Namespace
Modules: EncodingType Classes: AnalyzeEntitiesRequest, AnalyzeEntitiesResponse, AnalyzeEntitySentimentRequest, AnalyzeEntitySentimentResponse, AnalyzeSentimentRequest, AnalyzeSentimentResponse, AnalyzeSyntaxRequest, AnalyzeSyntaxResponse, AnnotateTextRequest, AnnotateTextResponse, ClassificationCategory, ClassifyTextRequest, ClassifyTextResponse, DependencyEdge, Document, Entity, EntityMention, LanguageServiceClient, PartOfSpeech, Sentence, Sentiment, TextSpan, Token
Class Method Summary collapse
-
.new(service_path: nil, port: nil, channel: nil, chan_creds: nil, updater_proc: nil, credentials: nil, scopes: nil, client_config: nil, timeout: nil, lib_name: nil, lib_version: nil) ⇒ Object
Provides text analysis operations such as sentiment analysis and entity recognition.
Class Method Details
.new(service_path: nil, port: nil, channel: nil, chan_creds: nil, updater_proc: nil, credentials: nil, scopes: nil, client_config: nil, timeout: nil, lib_name: nil, lib_version: nil) ⇒ Object
Provides text analysis operations such as sentiment analysis and entity recognition.
91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 |
# File 'lib/google/cloud/language/v1.rb', line 91 def self.new \ service_path: nil, port: nil, channel: nil, chan_creds: nil, updater_proc: nil, credentials: nil, scopes: nil, client_config: nil, timeout: nil, lib_name: nil, lib_version: nil kwargs = { service_path: service_path, port: port, channel: channel, chan_creds: chan_creds, updater_proc: updater_proc, credentials: credentials, scopes: scopes, client_config: client_config, timeout: timeout, lib_name: lib_name, lib_version: lib_version }.select { |_, v| v != nil } Google::Cloud::Language::V1::LanguageServiceClient.new(**kwargs) end |