- 2.48.0 (latest)
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.1
- 2.3.4
- 2.2.0
- 2.1.10
Package com.google.cloud.language.v1 (2.46.0)
GitHub Repository | RPC Documentation | REST Documentation |
This package is not the recommended entry point to using this client library!
For this library, we recommend using com.google.cloud.language.v2 for new applications.
Client Classes
Client classes are the main entry point to using a package. They contain several variations of Java methods for each of the API's methods.
Client | Description |
---|---|
com.google.cloud.language.v1.LanguageServiceClient |
Service Description: Provides text analysis operations such as sentiment analysis and entity
recognition.
This class provides the ability to make remote calls to the backing service through method |
Settings Classes
Settings classes can be used to configure credentials, endpoints, and retry settings for a Client.
Settings | Description |
---|---|
com.google.cloud.language.v1.LanguageServiceSettings |
Settings class to configure an instance of LanguageServiceClient.
The default instance has everything set to sensible defaults: |
Classes
Class | Description |
---|---|
com.google.cloud.language.v1.AnalyzeEntitiesRequest | The entity analysis request message. |
com.google.cloud.language.v1.AnalyzeEntitiesRequest.Builder | The entity analysis request message. |
com.google.cloud.language.v1.AnalyzeEntitiesResponse | The entity analysis response message. |
com.google.cloud.language.v1.AnalyzeEntitiesResponse.Builder | The entity analysis response message. |
com.google.cloud.language.v1.AnalyzeEntitySentimentRequest | The entity-level sentiment analysis request message. |
com.google.cloud.language.v1.AnalyzeEntitySentimentRequest.Builder | The entity-level sentiment analysis request message. |
com.google.cloud.language.v1.AnalyzeEntitySentimentResponse | The entity-level sentiment analysis response message. |
com.google.cloud.language.v1.AnalyzeEntitySentimentResponse.Builder | The entity-level sentiment analysis response message. |
com.google.cloud.language.v1.AnalyzeSentimentRequest | The sentiment analysis request message. |
com.google.cloud.language.v1.AnalyzeSentimentRequest.Builder | The sentiment analysis request message. |
com.google.cloud.language.v1.AnalyzeSentimentResponse | The sentiment analysis response message. |
com.google.cloud.language.v1.AnalyzeSentimentResponse.Builder | The sentiment analysis response message. |
com.google.cloud.language.v1.AnalyzeSyntaxRequest | The syntax analysis request message. |
com.google.cloud.language.v1.AnalyzeSyntaxRequest.Builder | The syntax analysis request message. |
com.google.cloud.language.v1.AnalyzeSyntaxResponse | The syntax analysis response message. |
com.google.cloud.language.v1.AnalyzeSyntaxResponse.Builder | The syntax analysis response message. |
com.google.cloud.language.v1.AnnotateTextRequest | The request message for the text annotation API, which can perform multiple analysis types (sentiment, entities, and syntax) in one call. |
com.google.cloud.language.v1.AnnotateTextRequest.Builder | The request message for the text annotation API, which can perform multiple analysis types (sentiment, entities, and syntax) in one call. |
com.google.cloud.language.v1.AnnotateTextRequest.Features | All available features for sentiment, syntax, and semantic analysis. Setting each one to true will enable that specific analysis for the input. |
com.google.cloud.language.v1.AnnotateTextRequest.Features.Builder | All available features for sentiment, syntax, and semantic analysis. Setting each one to true will enable that specific analysis for the input. |
com.google.cloud.language.v1.AnnotateTextResponse | The text annotations response message. |
com.google.cloud.language.v1.AnnotateTextResponse.Builder | The text annotations response message. |
com.google.cloud.language.v1.ClassificationCategory | Represents a category returned from the text classifier. |
com.google.cloud.language.v1.ClassificationCategory.Builder | Represents a category returned from the text classifier. |
com.google.cloud.language.v1.ClassificationModelOptions | Model options available for classification requests. |
com.google.cloud.language.v1.ClassificationModelOptions.Builder | Model options available for classification requests. |
com.google.cloud.language.v1.ClassificationModelOptions.V1Model | Options for the V1 model. |
com.google.cloud.language.v1.ClassificationModelOptions.V1Model.Builder | Options for the V1 model. |
com.google.cloud.language.v1.ClassificationModelOptions.V2Model | Options for the V2 model. |
com.google.cloud.language.v1.ClassificationModelOptions.V2Model.Builder | Options for the V2 model. |
com.google.cloud.language.v1.ClassifyTextRequest | The document classification request message. |
com.google.cloud.language.v1.ClassifyTextRequest.Builder | The document classification request message. |
com.google.cloud.language.v1.ClassifyTextResponse | The document classification response message. |
com.google.cloud.language.v1.ClassifyTextResponse.Builder | The document classification response message. |
com.google.cloud.language.v1.DependencyEdge | Represents dependency parse tree information for a token. (For more information on dependency labels, see http://www.aclweb.org/anthology/P13-2017 |
com.google.cloud.language.v1.DependencyEdge.Builder | Represents dependency parse tree information for a token. (For more information on dependency labels, see http://www.aclweb.org/anthology/P13-2017 |
com.google.cloud.language.v1.Document | Represents the input to API methods. |
com.google.cloud.language.v1.Document.Builder | Represents the input to API methods. |
com.google.cloud.language.v1.Entity | Represents a phrase in the text that is a known entity, such as a person, an organization, or location. The API associates information, such as salience and mentions, with entities. |
com.google.cloud.language.v1.Entity.Builder | Represents a phrase in the text that is a known entity, such as a person, an organization, or location. The API associates information, such as salience and mentions, with entities. |
com.google.cloud.language.v1.EntityMention | Represents a mention for an entity in the text. Currently, proper noun mentions are supported. |
com.google.cloud.language.v1.EntityMention.Builder | Represents a mention for an entity in the text. Currently, proper noun mentions are supported. |
com.google.cloud.language.v1.LanguageServiceGrpc | Provides text analysis operations such as sentiment analysis and entity recognition. |
com.google.cloud.language.v1.LanguageServiceGrpc.LanguageServiceImplBase | Base class for the server implementation of the service LanguageService. Provides text analysis operations such as sentiment analysis and entity |
com.google.cloud.language.v1.LanguageServiceProto | |
com.google.cloud.language.v1.LanguageServiceSettings.Builder | Builder for LanguageServiceSettings. |
com.google.cloud.language.v1.ModerateTextRequest | The document moderation request message. |
com.google.cloud.language.v1.ModerateTextRequest.Builder | The document moderation request message. |
com.google.cloud.language.v1.ModerateTextResponse | The document moderation response message. |
com.google.cloud.language.v1.ModerateTextResponse.Builder | The document moderation response message. |
com.google.cloud.language.v1.PartOfSpeech | Represents part of speech information for a token. Parts of speech are as defined in http://www.lrec-conf.org/proceedings/lrec2012/pdf/274_Paper.pdf |
com.google.cloud.language.v1.PartOfSpeech.Builder | Represents part of speech information for a token. Parts of speech are as defined in http://www.lrec-conf.org/proceedings/lrec2012/pdf/274_Paper.pdf |
com.google.cloud.language.v1.Sentence | Represents a sentence in the input document. |
com.google.cloud.language.v1.Sentence.Builder | Represents a sentence in the input document. |
com.google.cloud.language.v1.Sentiment | Represents the feeling associated with the entire text or entities in the text. |
com.google.cloud.language.v1.Sentiment.Builder | Represents the feeling associated with the entire text or entities in the text. |
com.google.cloud.language.v1.TextSpan | Represents an output piece of text. |
com.google.cloud.language.v1.TextSpan.Builder | Represents an output piece of text. |
com.google.cloud.language.v1.Token | Represents the smallest syntactic building block of the text. |
com.google.cloud.language.v1.Token.Builder | Represents the smallest syntactic building block of the text. |
Interfaces
Enums
Enum | Description |
---|---|
com.google.cloud.language.v1.ClassificationModelOptions.ModelTypeCase | |
com.google.cloud.language.v1.ClassificationModelOptions.V2Model.ContentCategoriesVersion | The content categories used for classification. |
com.google.cloud.language.v1.DependencyEdge.Label | The parse label enum for the token. |
com.google.cloud.language.v1.Document.SourceCase | |
com.google.cloud.language.v1.Document.Type | The document types enum. |
com.google.cloud.language.v1.EncodingType |
Represents the text encoding that the caller uses to process the output.
Providing an EncodingType is recommended because the API provides the
beginning offsets for various outputs, such as tokens and mentions, and |
com.google.cloud.language.v1.Entity.Type |
The type of the entity. For most entity types, the associated metadata is a
Wikipedia URL (wikipedia_url ) and Knowledge Graph MID (mid ). The table
below lists the associated fields for entities that have different |
com.google.cloud.language.v1.EntityMention.Type | The supported types of mentions. |
com.google.cloud.language.v1.PartOfSpeech.Aspect | The characteristic of a verb that expresses time flow during an event. |
com.google.cloud.language.v1.PartOfSpeech.Case | The grammatical function performed by a noun or pronoun in a phrase, clause, or sentence. In some languages, other parts of speech, such as adjective and determiner, take case inflection in agreement with the noun. |
com.google.cloud.language.v1.PartOfSpeech.Form | Depending on the language, Form can be categorizing different forms of verbs, adjectives, adverbs, etc. For example, categorizing inflected endings of verbs and adjectives or distinguishing between short and long |
com.google.cloud.language.v1.PartOfSpeech.Gender | Gender classes of nouns reflected in the behaviour of associated words. |
com.google.cloud.language.v1.PartOfSpeech.Mood | The grammatical feature of verbs, used for showing modality and attitude. |
com.google.cloud.language.v1.PartOfSpeech.Number | Count distinctions. |
com.google.cloud.language.v1.PartOfSpeech.Person | The distinction between the speaker, second person, third person, etc. |
com.google.cloud.language.v1.PartOfSpeech.Proper | This category shows if the token is part of a proper name. |
com.google.cloud.language.v1.PartOfSpeech.Reciprocity | Reciprocal features of a pronoun. |
com.google.cloud.language.v1.PartOfSpeech.Tag | The part of speech tags enum. |
com.google.cloud.language.v1.PartOfSpeech.Tense | Time reference. |
com.google.cloud.language.v1.PartOfSpeech.Voice | The relationship between the action that a verb expresses and the participants identified by its arguments. |