Files
google-apis-rs/google_language1/api/index.html
2021-04-02 00:20:57 +08:00

42 lines
13 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `api` mod in crate `google_language1`."><meta name="keywords" content="rust, rustlang, rust-lang, api"><title>google_language1::api - Rust</title><link rel="stylesheet" type="text/css" href="../../normalize.css"><link rel="stylesheet" type="text/css" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../../ayu.css" disabled ><script id="default-settings"></script><script src="../../storage.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../../favicon.svg">
<link rel="alternate icon" type="image/png" href="../../favicon-16x16.png">
<link rel="alternate icon" type="image/png" href="../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../down-arrow.svg");}</style></head><body class="rustdoc mod"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../google_language1/index.html'><div class='logo-container rust-logo'><img src='../../rust-logo.png' alt='logo'></div></a><p class="location">Module api</p><div class="sidebar-elems"><div class="block items"><ul><li><a href="#structs">Structs</a></li><li><a href="#enums">Enums</a></li></ul></div><p class="location"><a href="../index.html">google_language1</a></p><div id="sidebar-vars" data-name="api" data-ty="mod" data-relpath="../"></div><script defer src="../sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu"><img src="../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices" role="menu"></div></div><script src="../../theme.js"></script><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><button type="button" class="help-button">?</button>
<a id="settings-menu" href="../../settings.html"><img src="../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Module <a href="../index.html">google_language1</a>::<wbr><a class="mod" href="">api</a></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span><a class="srclink" href="../../src/google_language1/api.rs.html#1-2370" title="goto source code">[src]</a></span></h1><h2 id="structs" class="section-header"><a href="#structs">Structs</a></h2>
<table><tr class="module-item"><td><a class="struct" href="struct.AnalyzeEntitiesRequest.html" title="google_language1::api::AnalyzeEntitiesRequest struct">AnalyzeEntitiesRequest</a></td><td class="docblock-short"><p>The entity analysis request message.</p>
</td></tr><tr class="module-item"><td><a class="struct" href="struct.AnalyzeEntitiesResponse.html" title="google_language1::api::AnalyzeEntitiesResponse struct">AnalyzeEntitiesResponse</a></td><td class="docblock-short"><p>The entity analysis response message.</p>
</td></tr><tr class="module-item"><td><a class="struct" href="struct.AnalyzeEntitySentimentRequest.html" title="google_language1::api::AnalyzeEntitySentimentRequest struct">AnalyzeEntitySentimentRequest</a></td><td class="docblock-short"><p>The entity-level sentiment analysis request message.</p>
</td></tr><tr class="module-item"><td><a class="struct" href="struct.AnalyzeEntitySentimentResponse.html" title="google_language1::api::AnalyzeEntitySentimentResponse struct">AnalyzeEntitySentimentResponse</a></td><td class="docblock-short"><p>The entity-level sentiment analysis response message.</p>
</td></tr><tr class="module-item"><td><a class="struct" href="struct.AnalyzeSentimentRequest.html" title="google_language1::api::AnalyzeSentimentRequest struct">AnalyzeSentimentRequest</a></td><td class="docblock-short"><p>The sentiment analysis request message.</p>
</td></tr><tr class="module-item"><td><a class="struct" href="struct.AnalyzeSentimentResponse.html" title="google_language1::api::AnalyzeSentimentResponse struct">AnalyzeSentimentResponse</a></td><td class="docblock-short"><p>The sentiment analysis response message.</p>
</td></tr><tr class="module-item"><td><a class="struct" href="struct.AnalyzeSyntaxRequest.html" title="google_language1::api::AnalyzeSyntaxRequest struct">AnalyzeSyntaxRequest</a></td><td class="docblock-short"><p>The syntax analysis request message.</p>
</td></tr><tr class="module-item"><td><a class="struct" href="struct.AnalyzeSyntaxResponse.html" title="google_language1::api::AnalyzeSyntaxResponse struct">AnalyzeSyntaxResponse</a></td><td class="docblock-short"><p>The syntax analysis response message.</p>
</td></tr><tr class="module-item"><td><a class="struct" href="struct.AnnotateTextRequest.html" title="google_language1::api::AnnotateTextRequest struct">AnnotateTextRequest</a></td><td class="docblock-short"><p>The request message for the text annotation API, which can perform multiple analysis types (sentiment, entities, and syntax) in one call.</p>
</td></tr><tr class="module-item"><td><a class="struct" href="struct.AnnotateTextResponse.html" title="google_language1::api::AnnotateTextResponse struct">AnnotateTextResponse</a></td><td class="docblock-short"><p>The text annotations response message.</p>
</td></tr><tr class="module-item"><td><a class="struct" href="struct.ClassificationCategory.html" title="google_language1::api::ClassificationCategory struct">ClassificationCategory</a></td><td class="docblock-short"><p>Represents a category returned from the text classifier.</p>
</td></tr><tr class="module-item"><td><a class="struct" href="struct.ClassifyTextRequest.html" title="google_language1::api::ClassifyTextRequest struct">ClassifyTextRequest</a></td><td class="docblock-short"><p>The document classification request message.</p>
</td></tr><tr class="module-item"><td><a class="struct" href="struct.ClassifyTextResponse.html" title="google_language1::api::ClassifyTextResponse struct">ClassifyTextResponse</a></td><td class="docblock-short"><p>The document classification response message.</p>
</td></tr><tr class="module-item"><td><a class="struct" href="struct.CloudNaturalLanguage.html" title="google_language1::api::CloudNaturalLanguage struct">CloudNaturalLanguage</a></td><td class="docblock-short"><p>Central instance to access all CloudNaturalLanguage related resource activities</p>
</td></tr><tr class="module-item"><td><a class="struct" href="struct.DependencyEdge.html" title="google_language1::api::DependencyEdge struct">DependencyEdge</a></td><td class="docblock-short"><p>Represents dependency parse tree information for a token. (For more information on dependency labels, see http://www.aclweb.org/anthology/P13-2017</p>
</td></tr><tr class="module-item"><td><a class="struct" href="struct.Document.html" title="google_language1::api::Document struct">Document</a></td><td class="docblock-short"><p>################################################################ # Represents the input to API methods.</p>
</td></tr><tr class="module-item"><td><a class="struct" href="struct.DocumentAnalyzeEntityCall.html" title="google_language1::api::DocumentAnalyzeEntityCall struct">DocumentAnalyzeEntityCall</a></td><td class="docblock-short"><p>Finds named entities (currently proper names and common nouns) in the text along with entity types, salience, mentions for each entity, and other properties.</p>
</td></tr><tr class="module-item"><td><a class="struct" href="struct.DocumentAnalyzeEntitySentimentCall.html" title="google_language1::api::DocumentAnalyzeEntitySentimentCall struct">DocumentAnalyzeEntitySentimentCall</a></td><td class="docblock-short"><p>Finds entities, similar to AnalyzeEntities in the text and analyzes sentiment associated with each entity and its mentions.</p>
</td></tr><tr class="module-item"><td><a class="struct" href="struct.DocumentAnalyzeSentimentCall.html" title="google_language1::api::DocumentAnalyzeSentimentCall struct">DocumentAnalyzeSentimentCall</a></td><td class="docblock-short"><p>Analyzes the sentiment of the provided text.</p>
</td></tr><tr class="module-item"><td><a class="struct" href="struct.DocumentAnalyzeSyntaxCall.html" title="google_language1::api::DocumentAnalyzeSyntaxCall struct">DocumentAnalyzeSyntaxCall</a></td><td class="docblock-short"><p>Analyzes the syntax of the text and provides sentence boundaries and tokenization along with part of speech tags, dependency trees, and other properties.</p>
</td></tr><tr class="module-item"><td><a class="struct" href="struct.DocumentAnnotateTextCall.html" title="google_language1::api::DocumentAnnotateTextCall struct">DocumentAnnotateTextCall</a></td><td class="docblock-short"><p>A convenience method that provides all the features that analyzeSentiment, analyzeEntities, and analyzeSyntax provide in one call.</p>
</td></tr><tr class="module-item"><td><a class="struct" href="struct.DocumentClassifyTextCall.html" title="google_language1::api::DocumentClassifyTextCall struct">DocumentClassifyTextCall</a></td><td class="docblock-short"><p>Classifies a document into categories.</p>
</td></tr><tr class="module-item"><td><a class="struct" href="struct.DocumentMethods.html" title="google_language1::api::DocumentMethods struct">DocumentMethods</a></td><td class="docblock-short"><p>A builder providing access to all methods supported on <em>document</em> resources.
It is not used directly, but through the <code>CloudNaturalLanguage</code> hub.</p>
</td></tr><tr class="module-item"><td><a class="struct" href="struct.Entity.html" title="google_language1::api::Entity struct">Entity</a></td><td class="docblock-short"><p>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.</p>
</td></tr><tr class="module-item"><td><a class="struct" href="struct.EntityMention.html" title="google_language1::api::EntityMention struct">EntityMention</a></td><td class="docblock-short"><p>Represents a mention for an entity in the text. Currently, proper noun mentions are supported.</p>
</td></tr><tr class="module-item"><td><a class="struct" href="struct.Features.html" title="google_language1::api::Features struct">Features</a></td><td class="docblock-short"><p>All available features for sentiment, syntax, and semantic analysis. Setting each one to true will enable that specific analysis for the input.</p>
</td></tr><tr class="module-item"><td><a class="struct" href="struct.PartOfSpeech.html" title="google_language1::api::PartOfSpeech struct">PartOfSpeech</a></td><td class="docblock-short"><p>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</p>
</td></tr><tr class="module-item"><td><a class="struct" href="struct.Sentence.html" title="google_language1::api::Sentence struct">Sentence</a></td><td class="docblock-short"><p>Represents a sentence in the input document.</p>
</td></tr><tr class="module-item"><td><a class="struct" href="struct.Sentiment.html" title="google_language1::api::Sentiment struct">Sentiment</a></td><td class="docblock-short"><p>Represents the feeling associated with the entire text or entities in the text.</p>
</td></tr><tr class="module-item"><td><a class="struct" href="struct.TextSpan.html" title="google_language1::api::TextSpan struct">TextSpan</a></td><td class="docblock-short"><p>Represents an output piece of text.</p>
</td></tr><tr class="module-item"><td><a class="struct" href="struct.Token.html" title="google_language1::api::Token struct">Token</a></td><td class="docblock-short"><p>Represents the smallest syntactic building block of the text.</p>
</td></tr></table><h2 id="enums" class="section-header"><a href="#enums">Enums</a></h2>
<table><tr class="module-item"><td><a class="enum" href="enum.Scope.html" title="google_language1::api::Scope enum">Scope</a></td><td class="docblock-short"><p>Identifies the an OAuth2 authorization scope.
A scope is needed when requesting an
<a href="https://developers.google.com/youtube/v3/guides/authentication">authorization token</a>.</p>
</td></tr></table></section><section id="search" class="content hidden"></section><section class="footer"></section><div id="rustdoc-vars" data-root-path="../../" data-current-crate="google_language1"></div>
<script src="../../main.js"></script><script defer src="../../search-index.js"></script></body></html>