OLD | NEW |
1 { | 1 { |
2 "auth": { | 2 "auth": { |
3 "oauth2": { | 3 "oauth2": { |
4 "scopes": { | 4 "scopes": { |
5 "https://www.googleapis.com/auth/cloud-platform": { | 5 "https://www.googleapis.com/auth/cloud-platform": { |
6 "description": "View and manage your data across Google Clou
d Platform services" | 6 "description": "View and manage your data across Google Clou
d Platform services" |
7 } | 7 } |
8 } | 8 } |
9 } | 9 } |
10 }, | 10 }, |
11 "basePath": "", | 11 "basePath": "", |
12 "baseUrl": "https://language.googleapis.com/", | 12 "baseUrl": "https://language.googleapis.com/", |
13 "batchPath": "batch", | 13 "batchPath": "batch", |
14 "canonicalName": "Cloud Natural Language", | 14 "canonicalName": "Cloud Natural Language", |
15 "description": "Google Cloud Natural Language API provides natural language
understanding technologies to developers. Examples include sentiment analysis, e
ntity recognition, and text annotations.", | 15 "description": "Google Cloud Natural Language API provides natural language
understanding technologies to developers. Examples include sentiment analysis, e
ntity recognition, and text annotations.", |
16 "discoveryVersion": "v1", | 16 "discoveryVersion": "v1", |
17 "documentationLink": "https://cloud.google.com/natural-language/", | 17 "documentationLink": "https://cloud.google.com/natural-language/", |
18 "icons": { | 18 "icons": { |
19 "x16": "http://www.google.com/images/icons/product/search-16.gif", | 19 "x16": "http://www.google.com/images/icons/product/search-16.gif", |
20 "x32": "http://www.google.com/images/icons/product/search-32.gif" | 20 "x32": "http://www.google.com/images/icons/product/search-32.gif" |
21 }, | 21 }, |
22 "id": "language:v1", | 22 "id": "language:v1", |
23 "kind": "discovery#restDescription", | 23 "kind": "discovery#restDescription", |
24 "name": "language", | 24 "name": "language", |
25 "ownerDomain": "google.com", | 25 "ownerDomain": "google.com", |
26 "ownerName": "Google", | 26 "ownerName": "Google", |
27 "parameters": { | 27 "parameters": { |
28 "access_token": { | 28 "callback": { |
29 "description": "OAuth access token.", | 29 "description": "JSONP", |
30 "location": "query", | 30 "location": "query", |
31 "type": "string" | 31 "type": "string" |
32 }, | 32 }, |
33 "prettyPrint": { | 33 "$.xgafv": { |
34 "default": "true", | 34 "description": "V1 error format.", |
35 "description": "Returns response with indentations and line breaks."
, | 35 "enum": [ |
36 "location": "query", | 36 "1", |
37 "type": "boolean" | 37 "2" |
38 }, | 38 ], |
39 "key": { | 39 "enumDescriptions": [ |
40 "description": "API key. Your API key identifies your project and pr
ovides you with API access, quota, and reports. Required unless you provide an O
Auth 2.0 token.", | 40 "v1 error format", |
| 41 "v2 error format" |
| 42 ], |
41 "location": "query", | 43 "location": "query", |
42 "type": "string" | 44 "type": "string" |
43 }, | 45 }, |
44 "quotaUser": { | |
45 "description": "Available to use for quota purposes for server-side
applications. Can be any arbitrary string assigned to a user, but should not exc
eed 40 characters.", | |
46 "location": "query", | |
47 "type": "string" | |
48 }, | |
49 "pp": { | |
50 "default": "true", | |
51 "description": "Pretty-print response.", | |
52 "location": "query", | |
53 "type": "boolean" | |
54 }, | |
55 "fields": { | |
56 "description": "Selector specifying which fields to include in a par
tial response.", | |
57 "location": "query", | |
58 "type": "string" | |
59 }, | |
60 "alt": { | 46 "alt": { |
61 "default": "json", | 47 "default": "json", |
62 "description": "Data format for response.", | 48 "description": "Data format for response.", |
63 "enum": [ | 49 "enum": [ |
64 "json", | 50 "json", |
65 "media", | 51 "media", |
66 "proto" | 52 "proto" |
67 ], | 53 ], |
68 "enumDescriptions": [ | 54 "enumDescriptions": [ |
69 "Responses with Content-Type of application/json", | 55 "Responses with Content-Type of application/json", |
70 "Media download with context-dependent Content-Type", | 56 "Media download with context-dependent Content-Type", |
71 "Responses with Content-Type of application/x-protobuf" | 57 "Responses with Content-Type of application/x-protobuf" |
72 ], | 58 ], |
73 "location": "query", | 59 "location": "query", |
74 "type": "string" | 60 "type": "string" |
75 }, | 61 }, |
76 "$.xgafv": { | 62 "access_token": { |
77 "description": "V1 error format.", | 63 "description": "OAuth access token.", |
78 "enum": [ | |
79 "1", | |
80 "2" | |
81 ], | |
82 "enumDescriptions": [ | |
83 "v1 error format", | |
84 "v2 error format" | |
85 ], | |
86 "location": "query", | 64 "location": "query", |
87 "type": "string" | 65 "type": "string" |
88 }, | 66 }, |
89 "callback": { | 67 "key": { |
90 "description": "JSONP", | 68 "description": "API key. Your API key identifies your project and pr
ovides you with API access, quota, and reports. Required unless you provide an O
Auth 2.0 token.", |
| 69 "location": "query", |
| 70 "type": "string" |
| 71 }, |
| 72 "quotaUser": { |
| 73 "description": "Available to use for quota purposes for server-side
applications. Can be any arbitrary string assigned to a user, but should not exc
eed 40 characters.", |
| 74 "location": "query", |
| 75 "type": "string" |
| 76 }, |
| 77 "pp": { |
| 78 "default": "true", |
| 79 "description": "Pretty-print response.", |
| 80 "location": "query", |
| 81 "type": "boolean" |
| 82 }, |
| 83 "bearer_token": { |
| 84 "description": "OAuth bearer token.", |
91 "location": "query", | 85 "location": "query", |
92 "type": "string" | 86 "type": "string" |
93 }, | 87 }, |
94 "oauth_token": { | 88 "oauth_token": { |
95 "description": "OAuth 2.0 token for the current user.", | 89 "description": "OAuth 2.0 token for the current user.", |
96 "location": "query", | 90 "location": "query", |
97 "type": "string" | 91 "type": "string" |
98 }, | 92 }, |
| 93 "upload_protocol": { |
| 94 "description": "Upload protocol for media (e.g. \"raw\", \"multipart
\").", |
| 95 "location": "query", |
| 96 "type": "string" |
| 97 }, |
| 98 "prettyPrint": { |
| 99 "default": "true", |
| 100 "description": "Returns response with indentations and line breaks."
, |
| 101 "location": "query", |
| 102 "type": "boolean" |
| 103 }, |
99 "uploadType": { | 104 "uploadType": { |
100 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", | 105 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", |
101 "location": "query", | 106 "location": "query", |
102 "type": "string" | 107 "type": "string" |
103 }, | 108 }, |
104 "bearer_token": { | 109 "fields": { |
105 "description": "OAuth bearer token.", | 110 "description": "Selector specifying which fields to include in a par
tial response.", |
106 "location": "query", | |
107 "type": "string" | |
108 }, | |
109 "upload_protocol": { | |
110 "description": "Upload protocol for media (e.g. \"raw\", \"multipart
\").", | |
111 "location": "query", | 111 "location": "query", |
112 "type": "string" | 112 "type": "string" |
113 } | 113 } |
114 }, | 114 }, |
115 "protocol": "rest", | 115 "protocol": "rest", |
116 "resources": { | 116 "resources": { |
117 "documents": { | 117 "documents": { |
118 "methods": { | 118 "methods": { |
119 "analyzeSentiment": { | |
120 "description": "Analyzes the sentiment of the provided text.
", | |
121 "httpMethod": "POST", | |
122 "id": "language.documents.analyzeSentiment", | |
123 "parameterOrder": [], | |
124 "parameters": {}, | |
125 "path": "v1/documents:analyzeSentiment", | |
126 "request": { | |
127 "$ref": "AnalyzeSentimentRequest" | |
128 }, | |
129 "response": { | |
130 "$ref": "AnalyzeSentimentResponse" | |
131 }, | |
132 "scopes": [ | |
133 "https://www.googleapis.com/auth/cloud-platform" | |
134 ] | |
135 }, | |
136 "analyzeSyntax": { | |
137 "description": "Analyzes the syntax of the text and provides
sentence boundaries and\ntokenization along with part of speech tags, dependenc
y trees, and other\nproperties.", | |
138 "httpMethod": "POST", | |
139 "id": "language.documents.analyzeSyntax", | |
140 "parameterOrder": [], | |
141 "parameters": {}, | |
142 "path": "v1/documents:analyzeSyntax", | |
143 "request": { | |
144 "$ref": "AnalyzeSyntaxRequest" | |
145 }, | |
146 "response": { | |
147 "$ref": "AnalyzeSyntaxResponse" | |
148 }, | |
149 "scopes": [ | |
150 "https://www.googleapis.com/auth/cloud-platform" | |
151 ] | |
152 }, | |
153 "annotateText": { | 119 "annotateText": { |
154 "description": "A convenience method that provides all the f
eatures that analyzeSentiment,\nanalyzeEntities, and analyzeSyntax provide in on
e call.", | 120 "description": "A convenience method that provides all the f
eatures that analyzeSentiment,\nanalyzeEntities, and analyzeSyntax provide in on
e call.", |
155 "httpMethod": "POST", | 121 "httpMethod": "POST", |
156 "id": "language.documents.annotateText", | 122 "id": "language.documents.annotateText", |
157 "parameterOrder": [], | 123 "parameterOrder": [], |
158 "parameters": {}, | 124 "parameters": {}, |
159 "path": "v1/documents:annotateText", | 125 "path": "v1/documents:annotateText", |
160 "request": { | 126 "request": { |
161 "$ref": "AnnotateTextRequest" | 127 "$ref": "AnnotateTextRequest" |
162 }, | 128 }, |
(...skipping 12 matching lines...) Expand all Loading... |
175 "parameters": {}, | 141 "parameters": {}, |
176 "path": "v1/documents:analyzeEntities", | 142 "path": "v1/documents:analyzeEntities", |
177 "request": { | 143 "request": { |
178 "$ref": "AnalyzeEntitiesRequest" | 144 "$ref": "AnalyzeEntitiesRequest" |
179 }, | 145 }, |
180 "response": { | 146 "response": { |
181 "$ref": "AnalyzeEntitiesResponse" | 147 "$ref": "AnalyzeEntitiesResponse" |
182 }, | 148 }, |
183 "scopes": [ | 149 "scopes": [ |
184 "https://www.googleapis.com/auth/cloud-platform" | 150 "https://www.googleapis.com/auth/cloud-platform" |
| 151 ] |
| 152 }, |
| 153 "analyzeSyntax": { |
| 154 "description": "Analyzes the syntax of the text and provides
sentence boundaries and\ntokenization along with part of speech tags, dependenc
y trees, and other\nproperties.", |
| 155 "httpMethod": "POST", |
| 156 "id": "language.documents.analyzeSyntax", |
| 157 "parameterOrder": [], |
| 158 "parameters": {}, |
| 159 "path": "v1/documents:analyzeSyntax", |
| 160 "request": { |
| 161 "$ref": "AnalyzeSyntaxRequest" |
| 162 }, |
| 163 "response": { |
| 164 "$ref": "AnalyzeSyntaxResponse" |
| 165 }, |
| 166 "scopes": [ |
| 167 "https://www.googleapis.com/auth/cloud-platform" |
| 168 ] |
| 169 }, |
| 170 "analyzeSentiment": { |
| 171 "description": "Analyzes the sentiment of the provided text.
", |
| 172 "httpMethod": "POST", |
| 173 "id": "language.documents.analyzeSentiment", |
| 174 "parameterOrder": [], |
| 175 "parameters": {}, |
| 176 "path": "v1/documents:analyzeSentiment", |
| 177 "request": { |
| 178 "$ref": "AnalyzeSentimentRequest" |
| 179 }, |
| 180 "response": { |
| 181 "$ref": "AnalyzeSentimentResponse" |
| 182 }, |
| 183 "scopes": [ |
| 184 "https://www.googleapis.com/auth/cloud-platform" |
185 ] | 185 ] |
186 } | 186 } |
187 } | 187 } |
188 } | 188 } |
189 }, | 189 }, |
190 "revision": "20170103", | 190 "revision": "20170206", |
191 "rootUrl": "https://language.googleapis.com/", | 191 "rootUrl": "https://language.googleapis.com/", |
192 "schemas": { | 192 "schemas": { |
193 "Document": { | 193 "Token": { |
194 "description": "####################################################
############ #\n\nRepresents the input to API methods.", | 194 "description": "Represents the smallest syntactic building block of
the text.", |
195 "id": "Document", | 195 "id": "Token", |
196 "properties": { | 196 "properties": { |
197 "language": { | 197 "partOfSpeech": { |
198 "description": "The language of the document (if not specifi
ed, the language is\nautomatically detected). Both ISO and BCP-47 language codes
are\naccepted.<br>\n**Current Language Restrictions:**\n\n * Only English, Span
ish, and Japanese textual content are supported.\nIf the language (either specif
ied by the caller or automatically detected)\nis not supported by the called API
method, an `INVALID_ARGUMENT` error\nis returned.", | 198 "$ref": "PartOfSpeech", |
199 "type": "string" | 199 "description": "Parts of speech tag for this token." |
200 }, | 200 }, |
201 "gcsContentUri": { | 201 "text": { |
202 "description": "The Google Cloud Storage URI where the file
content is located.\nThis URI must be of the form: gs://bucket_name/object_name.
For more\ndetails, see https://cloud.google.com/storage/docs/reference-uris.\nN
OTE: Cloud Storage object versioning is not supported.", | 202 "$ref": "TextSpan", |
203 "type": "string" | 203 "description": "The token text." |
204 }, | 204 }, |
205 "type": { | 205 "dependencyEdge": { |
206 "description": "Required. If the type is not set or is `TYPE
_UNSPECIFIED`,\nreturns an `INVALID_ARGUMENT` error.", | 206 "$ref": "DependencyEdge", |
207 "enum": [ | 207 "description": "Dependency tree parse for this token." |
208 "TYPE_UNSPECIFIED", | |
209 "PLAIN_TEXT", | |
210 "HTML" | |
211 ], | |
212 "enumDescriptions": [ | |
213 "The content type is not specified.", | |
214 "Plain text", | |
215 "HTML" | |
216 ], | |
217 "type": "string" | |
218 }, | 208 }, |
219 "content": { | 209 "lemma": { |
220 "description": "The content of the input in string format.", | 210 "description": "[Lemma](https://en.wikipedia.org/wiki/Lemma_
%28morphology%29) of the token.", |
221 "type": "string" | 211 "type": "string" |
222 } | 212 } |
223 }, | 213 }, |
224 "type": "object" | 214 "type": "object" |
225 }, | 215 }, |
226 "TextSpan": { | 216 "TextSpan": { |
227 "description": "Represents an output piece of text.", | 217 "description": "Represents an output piece of text.", |
228 "id": "TextSpan", | 218 "id": "TextSpan", |
229 "properties": { | 219 "properties": { |
230 "beginOffset": { | 220 "beginOffset": { |
231 "description": "The API calculates the beginning offset of t
he content in the original\ndocument according to the EncodingType specified in
the API request.", | 221 "description": "The API calculates the beginning offset of t
he content in the original\ndocument according to the EncodingType specified in
the API request.", |
232 "format": "int32", | 222 "format": "int32", |
233 "type": "integer" | 223 "type": "integer" |
234 }, | 224 }, |
235 "content": { | 225 "content": { |
236 "description": "The content of the output text.", | 226 "description": "The content of the output text.", |
237 "type": "string" | 227 "type": "string" |
238 } | 228 } |
239 }, | 229 }, |
240 "type": "object" | 230 "type": "object" |
241 }, | 231 }, |
242 "Status": { | 232 "Status": { |
243 "description": "The `Status` type defines a logical error model that
is suitable for different\nprogramming environments, including REST APIs and RP
C APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is desig
ned to be:\n\n- Simple to use and understand for most users\n- Flexible enough t
o meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pie
ces of data: error code, error message,\nand error details. The error code shoul
d be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes
if needed. The\nerror message should be a developer-facing English message tha
t helps\ndevelopers *understand* and *resolve* the error. If a localized user-fa
cing\nerror message is needed, put the localized message in the error details or
\nlocalize it in the client. The optional error details may contain arbitrary\ni
nformation about the error. There is a predefined set of error detail types\nin
the package `google.rpc` which can be used for common error conditions.\n\n# Lan
guage mapping\n\nThe `Status` message is the logical representation of the error
model, but it\nis not necessarily the actual wire format. When the `Status` mes
sage is\nexposed in different client libraries and different wire protocols, it
can be\nmapped differently. For example, it will likely be mapped to some except
ions\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\
n\nThe error model and the `Status` message can be used in a variety of\nenviron
ments, either with or without APIs, to provide a\nconsistent developer experienc
e across different environments.\n\nExample uses of this error model include:\n\
n- Partial errors. If a service needs to return partial errors to the client,\n
it may embed the `Status` in the normal response to indicate the partial\n
errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step
may\n have a `Status` message for error reporting purpose.\n\n- Batch operati
ons. If a client uses batch request and batch response, the\n `Status` messag
e should be used directly inside batch response, one for\n each error sub-res
ponse.\n\n- Asynchronous operations. If an API call embeds asynchronous operatio
n\n results in its response, the status of those operations should be\n re
presented directly using the `Status` message.\n\n- Logging. If some API errors
are stored in logs, the message `Status` could\n be used directly after any s
tripping needed for security/privacy reasons.", | 233 "description": "The `Status` type defines a logical error model that
is suitable for different\nprogramming environments, including REST APIs and RP
C APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is desig
ned to be:\n\n- Simple to use and understand for most users\n- Flexible enough t
o meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pie
ces of data: error code, error message,\nand error details. The error code shoul
d be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes
if needed. The\nerror message should be a developer-facing English message tha
t helps\ndevelopers *understand* and *resolve* the error. If a localized user-fa
cing\nerror message is needed, put the localized message in the error details or
\nlocalize it in the client. The optional error details may contain arbitrary\ni
nformation about the error. There is a predefined set of error detail types\nin
the package `google.rpc` which can be used for common error conditions.\n\n# Lan
guage mapping\n\nThe `Status` message is the logical representation of the error
model, but it\nis not necessarily the actual wire format. When the `Status` mes
sage is\nexposed in different client libraries and different wire protocols, it
can be\nmapped differently. For example, it will likely be mapped to some except
ions\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\
n\nThe error model and the `Status` message can be used in a variety of\nenviron
ments, either with or without APIs, to provide a\nconsistent developer experienc
e across different environments.\n\nExample uses of this error model include:\n\
n- Partial errors. If a service needs to return partial errors to the client,\n
it may embed the `Status` in the normal response to indicate the partial\n
errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step
may\n have a `Status` message for error reporting purpose.\n\n- Batch operati
ons. If a client uses batch request and batch response, the\n `Status` messag
e should be used directly inside batch response, one for\n each error sub-res
ponse.\n\n- Asynchronous operations. If an API call embeds asynchronous operatio
n\n results in its response, the status of those operations should be\n re
presented directly using the `Status` message.\n\n- Logging. If some API errors
are stored in logs, the message `Status` could\n be used directly after any s
tripping needed for security/privacy reasons.", |
244 "id": "Status", | 234 "id": "Status", |
245 "properties": { | 235 "properties": { |
246 "code": { | |
247 "description": "The status code, which should be an enum val
ue of google.rpc.Code.", | |
248 "format": "int32", | |
249 "type": "integer" | |
250 }, | |
251 "details": { | 236 "details": { |
252 "description": "A list of messages that carry the error deta
ils. There will be a\ncommon set of message types for APIs to use.", | 237 "description": "A list of messages that carry the error deta
ils. There will be a\ncommon set of message types for APIs to use.", |
253 "items": { | 238 "items": { |
254 "additionalProperties": { | 239 "additionalProperties": { |
255 "description": "Properties of the object. Contains f
ield @type with type URL.", | 240 "description": "Properties of the object. Contains f
ield @type with type URL.", |
256 "type": "any" | 241 "type": "any" |
257 }, | 242 }, |
258 "type": "object" | 243 "type": "object" |
259 }, | 244 }, |
260 "type": "array" | 245 "type": "array" |
261 }, | 246 }, |
| 247 "code": { |
| 248 "description": "The status code, which should be an enum val
ue of google.rpc.Code.", |
| 249 "format": "int32", |
| 250 "type": "integer" |
| 251 }, |
262 "message": { | 252 "message": { |
263 "description": "A developer-facing error message, which shou
ld be in English. Any\nuser-facing error message should be localized and sent in
the\ngoogle.rpc.Status.details field, or localized by the client.", | 253 "description": "A developer-facing error message, which shou
ld be in English. Any\nuser-facing error message should be localized and sent in
the\ngoogle.rpc.Status.details field, or localized by the client.", |
264 "type": "string" | 254 "type": "string" |
265 } | 255 } |
266 }, | 256 }, |
267 "type": "object" | 257 "type": "object" |
268 }, | 258 }, |
269 "AnalyzeEntitiesRequest": { | |
270 "description": "The entity analysis request message.", | |
271 "id": "AnalyzeEntitiesRequest", | |
272 "properties": { | |
273 "document": { | |
274 "$ref": "Document", | |
275 "description": "Input document." | |
276 }, | |
277 "encodingType": { | |
278 "description": "The encoding type used by the API to calcula
te offsets.", | |
279 "enum": [ | |
280 "NONE", | |
281 "UTF8", | |
282 "UTF16", | |
283 "UTF32" | |
284 ], | |
285 "enumDescriptions": [ | |
286 "If `EncodingType` is not specified, encoding-dependent
information (such as\n`begin_offset`) will be set at `-1`.", | |
287 "Encoding-dependent information (such as `begin_offset`)
is calculated based\non the UTF-8 encoding of the input. C++ and Go are example
s of languages\nthat use this encoding natively.", | |
288 "Encoding-dependent information (such as `begin_offset`)
is calculated based\non the UTF-16 encoding of the input. Java and Javascript a
re examples of\nlanguages that use this encoding natively.", | |
289 "Encoding-dependent information (such as `begin_offset`)
is calculated based\non the UTF-32 encoding of the input. Python is an example
of a language\nthat uses this encoding natively." | |
290 ], | |
291 "type": "string" | |
292 } | |
293 }, | |
294 "type": "object" | |
295 }, | |
296 "EntityMention": { | 259 "EntityMention": { |
297 "description": "Represents a mention for an entity in the text. Curr
ently, proper noun\nmentions are supported.", | 260 "description": "Represents a mention for an entity in the text. Curr
ently, proper noun\nmentions are supported.", |
298 "id": "EntityMention", | 261 "id": "EntityMention", |
299 "properties": { | 262 "properties": { |
300 "text": { | 263 "text": { |
301 "$ref": "TextSpan", | 264 "$ref": "TextSpan", |
302 "description": "The mention text." | 265 "description": "The mention text." |
303 }, | 266 }, |
304 "type": { | 267 "type": { |
305 "description": "The type of the entity mention.", | 268 "description": "The type of the entity mention.", |
306 "enum": [ | 269 "enum": [ |
307 "TYPE_UNKNOWN", | 270 "TYPE_UNKNOWN", |
308 "PROPER", | 271 "PROPER", |
309 "COMMON" | 272 "COMMON" |
310 ], | 273 ], |
311 "enumDescriptions": [ | 274 "enumDescriptions": [ |
312 "Unknown", | 275 "Unknown", |
313 "Proper name", | 276 "Proper name", |
314 "Common noun (or noun compound)" | 277 "Common noun (or noun compound)" |
315 ], | 278 ], |
316 "type": "string" | 279 "type": "string" |
317 } | 280 } |
318 }, | 281 }, |
319 "type": "object" | 282 "type": "object" |
320 }, | 283 }, |
321 "AnalyzeSentimentRequest": { | 284 "Features": { |
322 "description": "The sentiment analysis request message.", | 285 "description": "All available features for sentiment, syntax, and se
mantic analysis.\nSetting each one to true will enable that specific analysis fo
r the input.", |
323 "id": "AnalyzeSentimentRequest", | 286 "id": "Features", |
324 "properties": { | 287 "properties": { |
325 "document": { | 288 "extractSyntax": { |
326 "$ref": "Document", | 289 "description": "Extract syntax information.", |
327 "description": "Input document. Currently, `analyzeSentiment
` only supports English text\n(Document.language=\"EN\")." | 290 "type": "boolean" |
328 }, | 291 }, |
329 "encodingType": { | 292 "extractDocumentSentiment": { |
330 "description": "The encoding type used by the API to calcula
te sentence offsets.", | 293 "description": "Extract document-level sentiment.", |
| 294 "type": "boolean" |
| 295 }, |
| 296 "extractEntities": { |
| 297 "description": "Extract entities.", |
| 298 "type": "boolean" |
| 299 } |
| 300 }, |
| 301 "type": "object" |
| 302 }, |
| 303 "Document": { |
| 304 "description": "####################################################
############ #\n\nRepresents the input to API methods.", |
| 305 "id": "Document", |
| 306 "properties": { |
| 307 "language": { |
| 308 "description": "The language of the document (if not specifi
ed, the language is\nautomatically detected). Both ISO and BCP-47 language codes
are\naccepted.<br>\n**Current Language Restrictions:**\n\n * Only English, Span
ish, and Japanese textual content are supported.\nIf the language (either specif
ied by the caller or automatically detected)\nis not supported by the called API
method, an `INVALID_ARGUMENT` error\nis returned.", |
| 309 "type": "string" |
| 310 }, |
| 311 "type": { |
| 312 "description": "Required. If the type is not set or is `TYPE
_UNSPECIFIED`,\nreturns an `INVALID_ARGUMENT` error.", |
331 "enum": [ | 313 "enum": [ |
332 "NONE", | 314 "TYPE_UNSPECIFIED", |
333 "UTF8", | 315 "PLAIN_TEXT", |
334 "UTF16", | 316 "HTML" |
335 "UTF32" | |
336 ], | 317 ], |
337 "enumDescriptions": [ | 318 "enumDescriptions": [ |
338 "If `EncodingType` is not specified, encoding-dependent
information (such as\n`begin_offset`) will be set at `-1`.", | 319 "The content type is not specified.", |
339 "Encoding-dependent information (such as `begin_offset`)
is calculated based\non the UTF-8 encoding of the input. C++ and Go are example
s of languages\nthat use this encoding natively.", | 320 "Plain text", |
340 "Encoding-dependent information (such as `begin_offset`)
is calculated based\non the UTF-16 encoding of the input. Java and Javascript a
re examples of\nlanguages that use this encoding natively.", | 321 "HTML" |
341 "Encoding-dependent information (such as `begin_offset`)
is calculated based\non the UTF-32 encoding of the input. Python is an example
of a language\nthat uses this encoding natively." | |
342 ], | 322 ], |
343 "type": "string" | 323 "type": "string" |
| 324 }, |
| 325 "content": { |
| 326 "description": "The content of the input in string format.", |
| 327 "type": "string" |
| 328 }, |
| 329 "gcsContentUri": { |
| 330 "description": "The Google Cloud Storage URI where the file
content is located.\nThis URI must be of the form: gs://bucket_name/object_name.
For more\ndetails, see https://cloud.google.com/storage/docs/reference-uris.\nN
OTE: Cloud Storage object versioning is not supported.", |
| 331 "type": "string" |
344 } | 332 } |
345 }, | 333 }, |
346 "type": "object" | 334 "type": "object" |
347 }, | 335 }, |
348 "AnalyzeSentimentResponse": { | 336 "Sentence": { |
349 "description": "The sentiment analysis response message.", | 337 "description": "Represents a sentence in the input document.", |
350 "id": "AnalyzeSentimentResponse", | 338 "id": "Sentence", |
351 "properties": { | 339 "properties": { |
352 "documentSentiment": { | 340 "text": { |
| 341 "$ref": "TextSpan", |
| 342 "description": "The sentence text." |
| 343 }, |
| 344 "sentiment": { |
353 "$ref": "Sentiment", | 345 "$ref": "Sentiment", |
354 "description": "The overall sentiment of the input document.
" | 346 "description": "For calls to AnalyzeSentiment or if\nAnnotat
eTextRequest.Features.extract_document_sentiment is set to\ntrue, this field wil
l contain the sentiment for the sentence." |
355 }, | |
356 "language": { | |
357 "description": "The language of the text, which will be the
same as the language specified\nin the request or, if not specified, the automat
ically-detected language.\nSee `Document.language` field for more details.", | |
358 "type": "string" | |
359 }, | |
360 "sentences": { | |
361 "description": "The sentiment for all the sentences in the d
ocument.", | |
362 "items": { | |
363 "$ref": "Sentence" | |
364 }, | |
365 "type": "array" | |
366 } | 347 } |
367 }, | 348 }, |
368 "type": "object" | 349 "type": "object" |
369 }, | 350 }, |
370 "AnalyzeSyntaxRequest": { | 351 "AnalyzeEntitiesRequest": { |
371 "description": "The syntax analysis request message.", | 352 "description": "The entity analysis request message.", |
372 "id": "AnalyzeSyntaxRequest", | 353 "id": "AnalyzeEntitiesRequest", |
373 "properties": { | 354 "properties": { |
374 "document": { | |
375 "$ref": "Document", | |
376 "description": "Input document." | |
377 }, | |
378 "encodingType": { | 355 "encodingType": { |
379 "description": "The encoding type used by the API to calcula
te offsets.", | 356 "description": "The encoding type used by the API to calcula
te offsets.", |
380 "enum": [ | 357 "enum": [ |
381 "NONE", | |
382 "UTF8", | |
383 "UTF16", | |
384 "UTF32" | |
385 ], | |
386 "enumDescriptions": [ | |
387 "If `EncodingType` is not specified, encoding-dependent
information (such as\n`begin_offset`) will be set at `-1`.", | |
388 "Encoding-dependent information (such as `begin_offset`)
is calculated based\non the UTF-8 encoding of the input. C++ and Go are example
s of languages\nthat use this encoding natively.", | |
389 "Encoding-dependent information (such as `begin_offset`)
is calculated based\non the UTF-16 encoding of the input. Java and Javascript a
re examples of\nlanguages that use this encoding natively.", | |
390 "Encoding-dependent information (such as `begin_offset`)
is calculated based\non the UTF-32 encoding of the input. Python is an example
of a language\nthat uses this encoding natively." | |
391 ], | |
392 "type": "string" | |
393 } | |
394 }, | |
395 "type": "object" | |
396 }, | |
397 "DependencyEdge": { | |
398 "description": "Represents dependency parse tree information for a t
oken. (For more\ninformation on dependency labels, see\nhttp://www.aclweb.org/an
thology/P13-2017", | |
399 "id": "DependencyEdge", | |
400 "properties": { | |
401 "headTokenIndex": { | |
402 "description": "Represents the head of this token in the dep
endency tree.\nThis is the index of the token which has an arc going to this tok
en.\nThe index is the position of the token in the array of tokens returned\nby
the API method. If this token is a root token, then the\n`head_token_index` is i
ts own index.", | |
403 "format": "int32", | |
404 "type": "integer" | |
405 }, | |
406 "label": { | |
407 "description": "The parse label for the token.", | |
408 "enum": [ | |
409 "UNKNOWN", | |
410 "ABBREV", | |
411 "ACOMP", | |
412 "ADVCL", | |
413 "ADVMOD", | |
414 "AMOD", | |
415 "APPOS", | |
416 "ATTR", | |
417 "AUX", | |
418 "AUXPASS", | |
419 "CC", | |
420 "CCOMP", | |
421 "CONJ", | |
422 "CSUBJ", | |
423 "CSUBJPASS", | |
424 "DEP", | |
425 "DET", | |
426 "DISCOURSE", | |
427 "DOBJ", | |
428 "EXPL", | |
429 "GOESWITH", | |
430 "IOBJ", | |
431 "MARK", | |
432 "MWE", | |
433 "MWV", | |
434 "NEG", | |
435 "NN", | |
436 "NPADVMOD", | |
437 "NSUBJ", | |
438 "NSUBJPASS", | |
439 "NUM", | |
440 "NUMBER", | |
441 "P", | |
442 "PARATAXIS", | |
443 "PARTMOD", | |
444 "PCOMP", | |
445 "POBJ", | |
446 "POSS", | |
447 "POSTNEG", | |
448 "PRECOMP", | |
449 "PRECONJ", | |
450 "PREDET", | |
451 "PREF", | |
452 "PREP", | |
453 "PRONL", | |
454 "PRT", | |
455 "PS", | |
456 "QUANTMOD", | |
457 "RCMOD", | |
458 "RCMODREL", | |
459 "RDROP", | |
460 "REF", | |
461 "REMNANT", | |
462 "REPARANDUM", | |
463 "ROOT", | |
464 "SNUM", | |
465 "SUFF", | |
466 "TMOD", | |
467 "TOPIC", | |
468 "VMOD", | |
469 "VOCATIVE", | |
470 "XCOMP", | |
471 "SUFFIX", | |
472 "TITLE", | |
473 "ADVPHMOD", | |
474 "AUXCAUS", | |
475 "AUXVV", | |
476 "DTMOD", | |
477 "FOREIGN", | |
478 "KW", | |
479 "LIST", | |
480 "NOMC", | |
481 "NOMCSUBJ", | |
482 "NOMCSUBJPASS", | |
483 "NUMC", | |
484 "COP", | |
485 "DISLOCATED" | |
486 ], | |
487 "enumDescriptions": [ | |
488 "Unknown", | |
489 "Abbreviation modifier", | |
490 "Adjectival complement", | |
491 "Adverbial clause modifier", | |
492 "Adverbial modifier", | |
493 "Adjectival modifier of an NP", | |
494 "Appositional modifier of an NP", | |
495 "Attribute dependent of a copular verb", | |
496 "Auxiliary (non-main) verb", | |
497 "Passive auxiliary", | |
498 "Coordinating conjunction", | |
499 "Clausal complement of a verb or adjective", | |
500 "Conjunct", | |
501 "Clausal subject", | |
502 "Clausal passive subject", | |
503 "Dependency (unable to determine)", | |
504 "Determiner", | |
505 "Discourse", | |
506 "Direct object", | |
507 "Expletive", | |
508 "Goes with (part of a word in a text not well edited)", | |
509 "Indirect object", | |
510 "Marker (word introducing a subordinate clause)", | |
511 "Multi-word expression", | |
512 "Multi-word verbal expression", | |
513 "Negation modifier", | |
514 "Noun compound modifier", | |
515 "Noun phrase used as an adverbial modifier", | |
516 "Nominal subject", | |
517 "Passive nominal subject", | |
518 "Numeric modifier of a noun", | |
519 "Element of compound number", | |
520 "Punctuation mark", | |
521 "Parataxis relation", | |
522 "Participial modifier", | |
523 "The complement of a preposition is a clause", | |
524 "Object of a preposition", | |
525 "Possession modifier", | |
526 "Postverbal negative particle", | |
527 "Predicate complement", | |
528 "Preconjunt", | |
529 "Predeterminer", | |
530 "Prefix", | |
531 "Prepositional modifier", | |
532 "The relationship between a verb and verbal morpheme", | |
533 "Particle", | |
534 "Associative or possessive marker", | |
535 "Quantifier phrase modifier", | |
536 "Relative clause modifier", | |
537 "Complementizer in relative clause", | |
538 "Ellipsis without a preceding predicate", | |
539 "Referent", | |
540 "Remnant", | |
541 "Reparandum", | |
542 "Root", | |
543 "Suffix specifying a unit of number", | |
544 "Suffix", | |
545 "Temporal modifier", | |
546 "Topic marker", | |
547 "Clause headed by an infinite form of the verb that modi
fies a noun", | |
548 "Vocative", | |
549 "Open clausal complement", | |
550 "Name suffix", | |
551 "Name title", | |
552 "Adverbial phrase modifier", | |
553 "Causative auxiliary", | |
554 "Helper auxiliary", | |
555 "Rentaishi (Prenominal modifier)", | |
556 "Foreign words", | |
557 "Keyword", | |
558 "List for chains of comparable items", | |
559 "Nominalized clause", | |
560 "Nominalized clausal subject", | |
561 "Nominalized clausal passive", | |
562 "Compound of numeric modifier", | |
563 "Copula", | |
564 "Dislocated relation (for fronted/topicalized elements)" | |
565 ], | |
566 "type": "string" | |
567 } | |
568 }, | |
569 "type": "object" | |
570 }, | |
571 "AnalyzeSyntaxResponse": { | |
572 "description": "The syntax analysis response message.", | |
573 "id": "AnalyzeSyntaxResponse", | |
574 "properties": { | |
575 "language": { | |
576 "description": "The language of the text, which will be the
same as the language specified\nin the request or, if not specified, the automat
ically-detected language.\nSee `Document.language` field for more details.", | |
577 "type": "string" | |
578 }, | |
579 "tokens": { | |
580 "description": "Tokens, along with their syntactic informati
on, in the input document.", | |
581 "items": { | |
582 "$ref": "Token" | |
583 }, | |
584 "type": "array" | |
585 }, | |
586 "sentences": { | |
587 "description": "Sentences in the input document.", | |
588 "items": { | |
589 "$ref": "Sentence" | |
590 }, | |
591 "type": "array" | |
592 } | |
593 }, | |
594 "type": "object" | |
595 }, | |
596 "AnnotateTextRequest": { | |
597 "description": "The request message for the text annotation API, whi
ch can perform multiple\nanalysis types (sentiment, entities, and syntax) in one
call.", | |
598 "id": "AnnotateTextRequest", | |
599 "properties": { | |
600 "document": { | |
601 "$ref": "Document", | |
602 "description": "Input document." | |
603 }, | |
604 "encodingType": { | |
605 "description": "The encoding type used by the API to calcula
te offsets.", | |
606 "enum": [ | |
607 "NONE", | 358 "NONE", |
608 "UTF8", | 359 "UTF8", |
609 "UTF16", | 360 "UTF16", |
610 "UTF32" | 361 "UTF32" |
611 ], | 362 ], |
612 "enumDescriptions": [ | 363 "enumDescriptions": [ |
613 "If `EncodingType` is not specified, encoding-dependent
information (such as\n`begin_offset`) will be set at `-1`.", | 364 "If `EncodingType` is not specified, encoding-dependent
information (such as\n`begin_offset`) will be set at `-1`.", |
614 "Encoding-dependent information (such as `begin_offset`)
is calculated based\non the UTF-8 encoding of the input. C++ and Go are example
s of languages\nthat use this encoding natively.", | 365 "Encoding-dependent information (such as `begin_offset`)
is calculated based\non the UTF-8 encoding of the input. C++ and Go are example
s of languages\nthat use this encoding natively.", |
615 "Encoding-dependent information (such as `begin_offset`)
is calculated based\non the UTF-16 encoding of the input. Java and Javascript a
re examples of\nlanguages that use this encoding natively.", | 366 "Encoding-dependent information (such as `begin_offset`)
is calculated based\non the UTF-16 encoding of the input. Java and Javascript a
re examples of\nlanguages that use this encoding natively.", |
616 "Encoding-dependent information (such as `begin_offset`)
is calculated based\non the UTF-32 encoding of the input. Python is an example
of a language\nthat uses this encoding natively." | 367 "Encoding-dependent information (such as `begin_offset`)
is calculated based\non the UTF-32 encoding of the input. Python is an example
of a language\nthat uses this encoding natively." |
617 ], | 368 ], |
618 "type": "string" | 369 "type": "string" |
619 }, | 370 }, |
620 "features": { | 371 "document": { |
621 "$ref": "Features", | 372 "$ref": "Document", |
622 "description": "The enabled features." | 373 "description": "Input document." |
623 } | 374 } |
624 }, | 375 }, |
625 "type": "object" | 376 "type": "object" |
626 }, | 377 }, |
627 "Sentence": { | 378 "Sentiment": { |
628 "description": "Represents a sentence in the input document.", | 379 "description": "Represents the feeling associated with the entire te
xt or entities in\nthe text.", |
629 "id": "Sentence", | 380 "id": "Sentiment", |
630 "properties": { | 381 "properties": { |
631 "text": { | 382 "score": { |
632 "$ref": "TextSpan", | 383 "description": "Sentiment score between -1.0 (negative senti
ment) and 1.0\n(positive sentiment).", |
633 "description": "The sentence text." | 384 "format": "float", |
| 385 "type": "number" |
634 }, | 386 }, |
635 "sentiment": { | 387 "magnitude": { |
636 "$ref": "Sentiment", | 388 "description": "A non-negative number in the [0, +inf) range
, which represents\nthe absolute magnitude of sentiment regardless of score (pos
itive or\nnegative).", |
637 "description": "For calls to AnalyzeSentiment or if\nAnnotat
eTextRequest.Features.extract_document_sentiment is set to\ntrue, this field wil
l contain the sentiment for the sentence." | 389 "format": "float", |
| 390 "type": "number" |
638 } | 391 } |
639 }, | 392 }, |
640 "type": "object" | 393 "type": "object" |
641 }, | |
642 "Features": { | |
643 "description": "All available features for sentiment, syntax, and se
mantic analysis.\nSetting each one to true will enable that specific analysis fo
r the input.", | |
644 "id": "Features", | |
645 "properties": { | |
646 "extractDocumentSentiment": { | |
647 "description": "Extract document-level sentiment.", | |
648 "type": "boolean" | |
649 }, | |
650 "extractEntities": { | |
651 "description": "Extract entities.", | |
652 "type": "boolean" | |
653 }, | |
654 "extractSyntax": { | |
655 "description": "Extract syntax information.", | |
656 "type": "boolean" | |
657 } | |
658 }, | |
659 "type": "object" | |
660 }, | 394 }, |
661 "PartOfSpeech": { | 395 "PartOfSpeech": { |
662 "description": "Represents part of speech information for a token. P
arts of speech\nare as defined in\nhttp://www.lrec-conf.org/proceedings/lrec2012
/pdf/274_Paper.pdf", | 396 "description": "Represents part of speech information for a token. P
arts of speech\nare as defined in\nhttp://www.lrec-conf.org/proceedings/lrec2012
/pdf/274_Paper.pdf", |
663 "id": "PartOfSpeech", | 397 "id": "PartOfSpeech", |
664 "properties": { | 398 "properties": { |
665 "aspect": { | |
666 "description": "The grammatical aspect.", | |
667 "enum": [ | |
668 "ASPECT_UNKNOWN", | |
669 "PERFECTIVE", | |
670 "IMPERFECTIVE", | |
671 "PROGRESSIVE" | |
672 ], | |
673 "enumDescriptions": [ | |
674 "Aspect is not applicable in the analyzed language or is
not predicted.", | |
675 "Perfective", | |
676 "Imperfective", | |
677 "Progressive" | |
678 ], | |
679 "type": "string" | |
680 }, | |
681 "gender": { | |
682 "description": "The grammatical gender.", | |
683 "enum": [ | |
684 "GENDER_UNKNOWN", | |
685 "FEMININE", | |
686 "MASCULINE", | |
687 "NEUTER" | |
688 ], | |
689 "enumDescriptions": [ | |
690 "Gender is not applicable in the analyzed language or is
not predicted.", | |
691 "Feminine", | |
692 "Masculine", | |
693 "Neuter" | |
694 ], | |
695 "type": "string" | |
696 }, | |
697 "person": { | |
698 "description": "The grammatical person.", | |
699 "enum": [ | |
700 "PERSON_UNKNOWN", | |
701 "FIRST", | |
702 "SECOND", | |
703 "THIRD", | |
704 "REFLEXIVE_PERSON" | |
705 ], | |
706 "enumDescriptions": [ | |
707 "Person is not applicable in the analyzed language or is
not predicted.", | |
708 "First", | |
709 "Second", | |
710 "Third", | |
711 "Reflexive" | |
712 ], | |
713 "type": "string" | |
714 }, | |
715 "case": { | |
716 "description": "The grammatical case.", | |
717 "enum": [ | |
718 "CASE_UNKNOWN", | |
719 "ACCUSATIVE", | |
720 "ADVERBIAL", | |
721 "COMPLEMENTIVE", | |
722 "DATIVE", | |
723 "GENITIVE", | |
724 "INSTRUMENTAL", | |
725 "LOCATIVE", | |
726 "NOMINATIVE", | |
727 "OBLIQUE", | |
728 "PARTITIVE", | |
729 "PREPOSITIONAL", | |
730 "REFLEXIVE_CASE", | |
731 "RELATIVE_CASE", | |
732 "VOCATIVE" | |
733 ], | |
734 "enumDescriptions": [ | |
735 "Case is not applicable in the analyzed language or is n
ot predicted.", | |
736 "Accusative", | |
737 "Adverbial", | |
738 "Complementive", | |
739 "Dative", | |
740 "Genitive", | |
741 "Instrumental", | |
742 "Locative", | |
743 "Nominative", | |
744 "Oblique", | |
745 "Partitive", | |
746 "Prepositional", | |
747 "Reflexive", | |
748 "Relative", | |
749 "Vocative" | |
750 ], | |
751 "type": "string" | |
752 }, | |
753 "form": { | 399 "form": { |
754 "description": "The grammatical form.", | 400 "description": "The grammatical form.", |
755 "enum": [ | 401 "enum": [ |
756 "FORM_UNKNOWN", | 402 "FORM_UNKNOWN", |
757 "ADNOMIAL", | 403 "ADNOMIAL", |
758 "AUXILIARY", | 404 "AUXILIARY", |
759 "COMPLEMENTIZER", | 405 "COMPLEMENTIZER", |
760 "FINAL_ENDING", | 406 "FINAL_ENDING", |
761 "GERUND", | 407 "GERUND", |
762 "REALIS", | 408 "REALIS", |
(...skipping 12 matching lines...) Expand all Loading... |
775 "Gerund", | 421 "Gerund", |
776 "Realis", | 422 "Realis", |
777 "Irrealis", | 423 "Irrealis", |
778 "Short form", | 424 "Short form", |
779 "Long form", | 425 "Long form", |
780 "Order form", | 426 "Order form", |
781 "Specific form" | 427 "Specific form" |
782 ], | 428 ], |
783 "type": "string" | 429 "type": "string" |
784 }, | 430 }, |
785 "tense": { | 431 "number": { |
786 "description": "The grammatical tense.", | 432 "description": "The grammatical number.", |
787 "enum": [ | 433 "enum": [ |
788 "TENSE_UNKNOWN", | 434 "NUMBER_UNKNOWN", |
789 "CONDITIONAL_TENSE", | 435 "SINGULAR", |
790 "FUTURE", | 436 "PLURAL", |
791 "PAST", | 437 "DUAL" |
792 "PRESENT", | |
793 "IMPERFECT", | |
794 "PLUPERFECT" | |
795 ], | 438 ], |
796 "enumDescriptions": [ | 439 "enumDescriptions": [ |
797 "Tense is not applicable in the analyzed language or is
not predicted.", | 440 "Number is not applicable in the analyzed language or is
not predicted.", |
798 "Conditional", | 441 "Singular", |
799 "Future", | 442 "Plural", |
800 "Past", | 443 "Dual" |
801 "Present", | |
802 "Imperfect", | |
803 "Pluperfect" | |
804 ], | 444 ], |
805 "type": "string" | 445 "type": "string" |
806 }, | 446 }, |
807 "proper": { | 447 "voice": { |
808 "description": "The grammatical properness.", | 448 "description": "The grammatical voice.", |
809 "enum": [ | 449 "enum": [ |
810 "PROPER_UNKNOWN", | 450 "VOICE_UNKNOWN", |
811 "PROPER", | 451 "ACTIVE", |
812 "NOT_PROPER" | 452 "CAUSATIVE", |
| 453 "PASSIVE" |
813 ], | 454 ], |
814 "enumDescriptions": [ | 455 "enumDescriptions": [ |
815 "Proper is not applicable in the analyzed language or is
not predicted.", | 456 "Voice is not applicable in the analyzed language or is
not predicted.", |
816 "Proper", | 457 "Active", |
817 "Not proper" | 458 "Causative", |
| 459 "Passive" |
818 ], | 460 ], |
819 "type": "string" | 461 "type": "string" |
820 }, | 462 }, |
| 463 "aspect": { |
| 464 "description": "The grammatical aspect.", |
| 465 "enum": [ |
| 466 "ASPECT_UNKNOWN", |
| 467 "PERFECTIVE", |
| 468 "IMPERFECTIVE", |
| 469 "PROGRESSIVE" |
| 470 ], |
| 471 "enumDescriptions": [ |
| 472 "Aspect is not applicable in the analyzed language or is
not predicted.", |
| 473 "Perfective", |
| 474 "Imperfective", |
| 475 "Progressive" |
| 476 ], |
| 477 "type": "string" |
| 478 }, |
821 "mood": { | 479 "mood": { |
822 "description": "The grammatical mood.", | 480 "description": "The grammatical mood.", |
823 "enum": [ | 481 "enum": [ |
824 "MOOD_UNKNOWN", | 482 "MOOD_UNKNOWN", |
825 "CONDITIONAL_MOOD", | 483 "CONDITIONAL_MOOD", |
826 "IMPERATIVE", | 484 "IMPERATIVE", |
827 "INDICATIVE", | 485 "INDICATIVE", |
828 "INTERROGATIVE", | 486 "INTERROGATIVE", |
829 "JUSSIVE", | 487 "JUSSIVE", |
830 "SUBJUNCTIVE" | 488 "SUBJUNCTIVE" |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
869 "Cardinal number", | 527 "Cardinal number", |
870 "Pronoun", | 528 "Pronoun", |
871 "Particle or other function word", | 529 "Particle or other function word", |
872 "Punctuation", | 530 "Punctuation", |
873 "Verb (all tenses and modes)", | 531 "Verb (all tenses and modes)", |
874 "Other: foreign words, typos, abbreviations", | 532 "Other: foreign words, typos, abbreviations", |
875 "Affix" | 533 "Affix" |
876 ], | 534 ], |
877 "type": "string" | 535 "type": "string" |
878 }, | 536 }, |
879 "number": { | 537 "gender": { |
880 "description": "The grammatical number.", | 538 "description": "The grammatical gender.", |
881 "enum": [ | 539 "enum": [ |
882 "NUMBER_UNKNOWN", | 540 "GENDER_UNKNOWN", |
883 "SINGULAR", | 541 "FEMININE", |
884 "PLURAL", | 542 "MASCULINE", |
885 "DUAL" | 543 "NEUTER" |
886 ], | 544 ], |
887 "enumDescriptions": [ | 545 "enumDescriptions": [ |
888 "Number is not applicable in the analyzed language or is
not predicted.", | 546 "Gender is not applicable in the analyzed language or is
not predicted.", |
889 "Singular", | 547 "Feminine", |
890 "Plural", | 548 "Masculine", |
891 "Dual" | 549 "Neuter" |
| 550 ], |
| 551 "type": "string" |
| 552 }, |
| 553 "person": { |
| 554 "description": "The grammatical person.", |
| 555 "enum": [ |
| 556 "PERSON_UNKNOWN", |
| 557 "FIRST", |
| 558 "SECOND", |
| 559 "THIRD", |
| 560 "REFLEXIVE_PERSON" |
| 561 ], |
| 562 "enumDescriptions": [ |
| 563 "Person is not applicable in the analyzed language or is
not predicted.", |
| 564 "First", |
| 565 "Second", |
| 566 "Third", |
| 567 "Reflexive" |
| 568 ], |
| 569 "type": "string" |
| 570 }, |
| 571 "proper": { |
| 572 "description": "The grammatical properness.", |
| 573 "enum": [ |
| 574 "PROPER_UNKNOWN", |
| 575 "PROPER", |
| 576 "NOT_PROPER" |
| 577 ], |
| 578 "enumDescriptions": [ |
| 579 "Proper is not applicable in the analyzed language or is
not predicted.", |
| 580 "Proper", |
| 581 "Not proper" |
| 582 ], |
| 583 "type": "string" |
| 584 }, |
| 585 "case": { |
| 586 "description": "The grammatical case.", |
| 587 "enum": [ |
| 588 "CASE_UNKNOWN", |
| 589 "ACCUSATIVE", |
| 590 "ADVERBIAL", |
| 591 "COMPLEMENTIVE", |
| 592 "DATIVE", |
| 593 "GENITIVE", |
| 594 "INSTRUMENTAL", |
| 595 "LOCATIVE", |
| 596 "NOMINATIVE", |
| 597 "OBLIQUE", |
| 598 "PARTITIVE", |
| 599 "PREPOSITIONAL", |
| 600 "REFLEXIVE_CASE", |
| 601 "RELATIVE_CASE", |
| 602 "VOCATIVE" |
| 603 ], |
| 604 "enumDescriptions": [ |
| 605 "Case is not applicable in the analyzed language or is n
ot predicted.", |
| 606 "Accusative", |
| 607 "Adverbial", |
| 608 "Complementive", |
| 609 "Dative", |
| 610 "Genitive", |
| 611 "Instrumental", |
| 612 "Locative", |
| 613 "Nominative", |
| 614 "Oblique", |
| 615 "Partitive", |
| 616 "Prepositional", |
| 617 "Reflexive", |
| 618 "Relative", |
| 619 "Vocative" |
| 620 ], |
| 621 "type": "string" |
| 622 }, |
| 623 "tense": { |
| 624 "description": "The grammatical tense.", |
| 625 "enum": [ |
| 626 "TENSE_UNKNOWN", |
| 627 "CONDITIONAL_TENSE", |
| 628 "FUTURE", |
| 629 "PAST", |
| 630 "PRESENT", |
| 631 "IMPERFECT", |
| 632 "PLUPERFECT" |
| 633 ], |
| 634 "enumDescriptions": [ |
| 635 "Tense is not applicable in the analyzed language or is
not predicted.", |
| 636 "Conditional", |
| 637 "Future", |
| 638 "Past", |
| 639 "Present", |
| 640 "Imperfect", |
| 641 "Pluperfect" |
892 ], | 642 ], |
893 "type": "string" | 643 "type": "string" |
894 }, | 644 }, |
895 "reciprocity": { | 645 "reciprocity": { |
896 "description": "The grammatical reciprocity.", | 646 "description": "The grammatical reciprocity.", |
897 "enum": [ | 647 "enum": [ |
898 "RECIPROCITY_UNKNOWN", | 648 "RECIPROCITY_UNKNOWN", |
899 "RECIPROCAL", | 649 "RECIPROCAL", |
900 "NON_RECIPROCAL" | 650 "NON_RECIPROCAL" |
901 ], | 651 ], |
902 "enumDescriptions": [ | 652 "enumDescriptions": [ |
903 "Reciprocity is not applicable in the analyzed language
or is not\npredicted.", | 653 "Reciprocity is not applicable in the analyzed language
or is not\npredicted.", |
904 "Reciprocal", | 654 "Reciprocal", |
905 "Non-reciprocal" | 655 "Non-reciprocal" |
906 ], | 656 ], |
907 "type": "string" | 657 "type": "string" |
908 }, | |
909 "voice": { | |
910 "description": "The grammatical voice.", | |
911 "enum": [ | |
912 "VOICE_UNKNOWN", | |
913 "ACTIVE", | |
914 "CAUSATIVE", | |
915 "PASSIVE" | |
916 ], | |
917 "enumDescriptions": [ | |
918 "Voice is not applicable in the analyzed language or is
not predicted.", | |
919 "Active", | |
920 "Causative", | |
921 "Passive" | |
922 ], | |
923 "type": "string" | |
924 } | 658 } |
925 }, | 659 }, |
926 "type": "object" | 660 "type": "object" |
927 }, | 661 }, |
928 "AnnotateTextResponse": { | 662 "AnalyzeSyntaxRequest": { |
929 "description": "The text annotations response message.", | 663 "description": "The syntax analysis request message.", |
930 "id": "AnnotateTextResponse", | 664 "id": "AnalyzeSyntaxRequest", |
931 "properties": { | 665 "properties": { |
932 "entities": { | 666 "encodingType": { |
933 "description": "Entities, along with their semantic informat
ion, in the input document.\nPopulated if the user enables\nAnnotateTextRequest.
Features.extract_entities.", | 667 "description": "The encoding type used by the API to calcula
te offsets.", |
934 "items": { | 668 "enum": [ |
935 "$ref": "Entity" | 669 "NONE", |
936 }, | 670 "UTF8", |
937 "type": "array" | 671 "UTF16", |
| 672 "UTF32" |
| 673 ], |
| 674 "enumDescriptions": [ |
| 675 "If `EncodingType` is not specified, encoding-dependent
information (such as\n`begin_offset`) will be set at `-1`.", |
| 676 "Encoding-dependent information (such as `begin_offset`)
is calculated based\non the UTF-8 encoding of the input. C++ and Go are example
s of languages\nthat use this encoding natively.", |
| 677 "Encoding-dependent information (such as `begin_offset`)
is calculated based\non the UTF-16 encoding of the input. Java and Javascript a
re examples of\nlanguages that use this encoding natively.", |
| 678 "Encoding-dependent information (such as `begin_offset`)
is calculated based\non the UTF-32 encoding of the input. Python is an example
of a language\nthat uses this encoding natively." |
| 679 ], |
| 680 "type": "string" |
938 }, | 681 }, |
| 682 "document": { |
| 683 "$ref": "Document", |
| 684 "description": "Input document." |
| 685 } |
| 686 }, |
| 687 "type": "object" |
| 688 }, |
| 689 "AnalyzeSentimentResponse": { |
| 690 "description": "The sentiment analysis response message.", |
| 691 "id": "AnalyzeSentimentResponse", |
| 692 "properties": { |
939 "documentSentiment": { | 693 "documentSentiment": { |
940 "$ref": "Sentiment", | 694 "$ref": "Sentiment", |
941 "description": "The overall sentiment for the document. Popu
lated if the user enables\nAnnotateTextRequest.Features.extract_document_sentime
nt." | 695 "description": "The overall sentiment of the input document.
" |
942 }, | 696 }, |
943 "language": { | 697 "language": { |
944 "description": "The language of the text, which will be the
same as the language specified\nin the request or, if not specified, the automat
ically-detected language.\nSee `Document.language` field for more details.", | 698 "description": "The language of the text, which will be the
same as the language specified\nin the request or, if not specified, the automat
ically-detected language.\nSee `Document.language` field for more details.", |
945 "type": "string" | 699 "type": "string" |
946 }, | 700 }, |
947 "tokens": { | |
948 "description": "Tokens, along with their syntactic informati
on, in the input document.\nPopulated if the user enables\nAnnotateTextRequest.F
eatures.extract_syntax.", | |
949 "items": { | |
950 "$ref": "Token" | |
951 }, | |
952 "type": "array" | |
953 }, | |
954 "sentences": { | 701 "sentences": { |
955 "description": "Sentences in the input document. Populated i
f the user enables\nAnnotateTextRequest.Features.extract_syntax.", | 702 "description": "The sentiment for all the sentences in the d
ocument.", |
956 "items": { | 703 "items": { |
957 "$ref": "Sentence" | 704 "$ref": "Sentence" |
958 }, | 705 }, |
959 "type": "array" | 706 "type": "array" |
960 } | 707 } |
961 }, | 708 }, |
962 "type": "object" | 709 "type": "object" |
| 710 }, |
| 711 "AnalyzeEntitiesResponse": { |
| 712 "description": "The entity analysis response message.", |
| 713 "id": "AnalyzeEntitiesResponse", |
| 714 "properties": { |
| 715 "entities": { |
| 716 "description": "The recognized entities in the input documen
t.", |
| 717 "items": { |
| 718 "$ref": "Entity" |
| 719 }, |
| 720 "type": "array" |
| 721 }, |
| 722 "language": { |
| 723 "description": "The language of the text, which will be the
same as the language specified\nin the request or, if not specified, the automat
ically-detected language.\nSee `Document.language` field for more details.", |
| 724 "type": "string" |
| 725 } |
| 726 }, |
| 727 "type": "object" |
963 }, | 728 }, |
964 "Entity": { | 729 "Entity": { |
965 "description": "Represents a phrase in the text that is a known enti
ty, such as\na person, an organization, or location. The API associates informat
ion, such\nas salience and mentions, with entities.", | 730 "description": "Represents a phrase in the text that is a known enti
ty, such as\na person, an organization, or location. The API associates informat
ion, such\nas salience and mentions, with entities.", |
966 "id": "Entity", | 731 "id": "Entity", |
967 "properties": { | 732 "properties": { |
968 "metadata": { | |
969 "additionalProperties": { | |
970 "type": "string" | |
971 }, | |
972 "description": "Metadata associated with the entity.\n\nCurr
ently, Wikipedia URLs and Knowledge Graph MIDs are provided, if\navailable. The
associated keys are \"wikipedia_url\" and \"mid\", respectively.", | |
973 "type": "object" | |
974 }, | |
975 "salience": { | |
976 "description": "The salience score associated with the entit
y in the [0, 1.0] range.\n\nThe salience score for an entity provides informatio
n about the\nimportance or centrality of that entity to the entire document text
.\nScores closer to 0 are less salient, while scores closer to 1.0 are highly\ns
alient.", | |
977 "format": "float", | |
978 "type": "number" | |
979 }, | |
980 "type": { | 733 "type": { |
981 "description": "The entity type.", | 734 "description": "The entity type.", |
982 "enum": [ | 735 "enum": [ |
983 "UNKNOWN", | 736 "UNKNOWN", |
984 "PERSON", | 737 "PERSON", |
985 "LOCATION", | 738 "LOCATION", |
986 "ORGANIZATION", | 739 "ORGANIZATION", |
987 "EVENT", | 740 "EVENT", |
988 "WORK_OF_ART", | 741 "WORK_OF_ART", |
989 "CONSUMER_GOOD", | 742 "CONSUMER_GOOD", |
990 "OTHER" | 743 "OTHER" |
991 ], | 744 ], |
992 "enumDescriptions": [ | 745 "enumDescriptions": [ |
993 "Unknown", | 746 "Unknown", |
994 "Person", | 747 "Person", |
995 "Location", | 748 "Location", |
996 "Organization", | 749 "Organization", |
997 "Event", | 750 "Event", |
998 "Work of art", | 751 "Work of art", |
999 "Consumer goods", | 752 "Consumer goods", |
1000 "Other types" | 753 "Other types" |
1001 ], | 754 ], |
1002 "type": "string" | 755 "type": "string" |
1003 }, | 756 }, |
| 757 "metadata": { |
| 758 "additionalProperties": { |
| 759 "type": "string" |
| 760 }, |
| 761 "description": "Metadata associated with the entity.\n\nCurr
ently, Wikipedia URLs and Knowledge Graph MIDs are provided, if\navailable. The
associated keys are \"wikipedia_url\" and \"mid\", respectively.", |
| 762 "type": "object" |
| 763 }, |
| 764 "salience": { |
| 765 "description": "The salience score associated with the entit
y in the [0, 1.0] range.\n\nThe salience score for an entity provides informatio
n about the\nimportance or centrality of that entity to the entire document text
.\nScores closer to 0 are less salient, while scores closer to 1.0 are highly\ns
alient.", |
| 766 "format": "float", |
| 767 "type": "number" |
| 768 }, |
1004 "mentions": { | 769 "mentions": { |
1005 "description": "The mentions of this entity in the input doc
ument. The API currently\nsupports proper noun mentions.", | 770 "description": "The mentions of this entity in the input doc
ument. The API currently\nsupports proper noun mentions.", |
1006 "items": { | 771 "items": { |
1007 "$ref": "EntityMention" | 772 "$ref": "EntityMention" |
1008 }, | 773 }, |
1009 "type": "array" | 774 "type": "array" |
1010 }, | 775 }, |
1011 "name": { | 776 "name": { |
1012 "description": "The representative name for the entity.", | 777 "description": "The representative name for the entity.", |
1013 "type": "string" | 778 "type": "string" |
1014 } | 779 } |
1015 }, | 780 }, |
1016 "type": "object" | 781 "type": "object" |
1017 }, | 782 }, |
1018 "Sentiment": { | 783 "AnalyzeSyntaxResponse": { |
1019 "description": "Represents the feeling associated with the entire te
xt or entities in\nthe text.", | 784 "description": "The syntax analysis response message.", |
1020 "id": "Sentiment", | 785 "id": "AnalyzeSyntaxResponse", |
1021 "properties": { | 786 "properties": { |
1022 "score": { | 787 "sentences": { |
1023 "description": "Sentiment score between -1.0 (negative senti
ment) and 1.0\n(positive sentiment).", | 788 "description": "Sentences in the input document.", |
1024 "format": "float", | 789 "items": { |
1025 "type": "number" | 790 "$ref": "Sentence" |
1026 }, | 791 }, |
1027 "magnitude": { | 792 "type": "array" |
1028 "description": "A non-negative number in the [0, +inf) range
, which represents\nthe absolute magnitude of sentiment regardless of score (pos
itive or\nnegative).", | 793 }, |
1029 "format": "float", | 794 "tokens": { |
1030 "type": "number" | 795 "description": "Tokens, along with their syntactic informati
on, in the input document.", |
1031 } | 796 "items": { |
1032 }, | 797 "$ref": "Token" |
1033 "type": "object" | |
1034 }, | |
1035 "Token": { | |
1036 "description": "Represents the smallest syntactic building block of
the text.", | |
1037 "id": "Token", | |
1038 "properties": { | |
1039 "text": { | |
1040 "$ref": "TextSpan", | |
1041 "description": "The token text." | |
1042 }, | |
1043 "partOfSpeech": { | |
1044 "$ref": "PartOfSpeech", | |
1045 "description": "Parts of speech tag for this token." | |
1046 }, | |
1047 "dependencyEdge": { | |
1048 "$ref": "DependencyEdge", | |
1049 "description": "Dependency tree parse for this token." | |
1050 }, | |
1051 "lemma": { | |
1052 "description": "[Lemma](https://en.wikipedia.org/wiki/Lemma_
%28morphology%29) of the token.", | |
1053 "type": "string" | |
1054 } | |
1055 }, | |
1056 "type": "object" | |
1057 }, | |
1058 "AnalyzeEntitiesResponse": { | |
1059 "description": "The entity analysis response message.", | |
1060 "id": "AnalyzeEntitiesResponse", | |
1061 "properties": { | |
1062 "entities": { | |
1063 "description": "The recognized entities in the input documen
t.", | |
1064 "items": { | |
1065 "$ref": "Entity" | |
1066 }, | 798 }, |
1067 "type": "array" | 799 "type": "array" |
1068 }, | 800 }, |
1069 "language": { | 801 "language": { |
1070 "description": "The language of the text, which will be the
same as the language specified\nin the request or, if not specified, the automat
ically-detected language.\nSee `Document.language` field for more details.", | 802 "description": "The language of the text, which will be the
same as the language specified\nin the request or, if not specified, the automat
ically-detected language.\nSee `Document.language` field for more details.", |
1071 "type": "string" | 803 "type": "string" |
1072 } | 804 } |
1073 }, | 805 }, |
| 806 "type": "object" |
| 807 }, |
| 808 "AnnotateTextRequest": { |
| 809 "description": "The request message for the text annotation API, whi
ch can perform multiple\nanalysis types (sentiment, entities, and syntax) in one
call.", |
| 810 "id": "AnnotateTextRequest", |
| 811 "properties": { |
| 812 "encodingType": { |
| 813 "description": "The encoding type used by the API to calcula
te offsets.", |
| 814 "enum": [ |
| 815 "NONE", |
| 816 "UTF8", |
| 817 "UTF16", |
| 818 "UTF32" |
| 819 ], |
| 820 "enumDescriptions": [ |
| 821 "If `EncodingType` is not specified, encoding-dependent
information (such as\n`begin_offset`) will be set at `-1`.", |
| 822 "Encoding-dependent information (such as `begin_offset`)
is calculated based\non the UTF-8 encoding of the input. C++ and Go are example
s of languages\nthat use this encoding natively.", |
| 823 "Encoding-dependent information (such as `begin_offset`)
is calculated based\non the UTF-16 encoding of the input. Java and Javascript a
re examples of\nlanguages that use this encoding natively.", |
| 824 "Encoding-dependent information (such as `begin_offset`)
is calculated based\non the UTF-32 encoding of the input. Python is an example
of a language\nthat uses this encoding natively." |
| 825 ], |
| 826 "type": "string" |
| 827 }, |
| 828 "document": { |
| 829 "$ref": "Document", |
| 830 "description": "Input document." |
| 831 }, |
| 832 "features": { |
| 833 "$ref": "Features", |
| 834 "description": "The enabled features." |
| 835 } |
| 836 }, |
| 837 "type": "object" |
| 838 }, |
| 839 "AnnotateTextResponse": { |
| 840 "description": "The text annotations response message.", |
| 841 "id": "AnnotateTextResponse", |
| 842 "properties": { |
| 843 "documentSentiment": { |
| 844 "$ref": "Sentiment", |
| 845 "description": "The overall sentiment for the document. Popu
lated if the user enables\nAnnotateTextRequest.Features.extract_document_sentime
nt." |
| 846 }, |
| 847 "language": { |
| 848 "description": "The language of the text, which will be the
same as the language specified\nin the request or, if not specified, the automat
ically-detected language.\nSee `Document.language` field for more details.", |
| 849 "type": "string" |
| 850 }, |
| 851 "sentences": { |
| 852 "description": "Sentences in the input document. Populated i
f the user enables\nAnnotateTextRequest.Features.extract_syntax.", |
| 853 "items": { |
| 854 "$ref": "Sentence" |
| 855 }, |
| 856 "type": "array" |
| 857 }, |
| 858 "tokens": { |
| 859 "description": "Tokens, along with their syntactic informati
on, in the input document.\nPopulated if the user enables\nAnnotateTextRequest.F
eatures.extract_syntax.", |
| 860 "items": { |
| 861 "$ref": "Token" |
| 862 }, |
| 863 "type": "array" |
| 864 }, |
| 865 "entities": { |
| 866 "description": "Entities, along with their semantic informat
ion, in the input document.\nPopulated if the user enables\nAnnotateTextRequest.
Features.extract_entities.", |
| 867 "items": { |
| 868 "$ref": "Entity" |
| 869 }, |
| 870 "type": "array" |
| 871 } |
| 872 }, |
| 873 "type": "object" |
| 874 }, |
| 875 "AnalyzeSentimentRequest": { |
| 876 "description": "The sentiment analysis request message.", |
| 877 "id": "AnalyzeSentimentRequest", |
| 878 "properties": { |
| 879 "encodingType": { |
| 880 "description": "The encoding type used by the API to calcula
te sentence offsets.", |
| 881 "enum": [ |
| 882 "NONE", |
| 883 "UTF8", |
| 884 "UTF16", |
| 885 "UTF32" |
| 886 ], |
| 887 "enumDescriptions": [ |
| 888 "If `EncodingType` is not specified, encoding-dependent
information (such as\n`begin_offset`) will be set at `-1`.", |
| 889 "Encoding-dependent information (such as `begin_offset`)
is calculated based\non the UTF-8 encoding of the input. C++ and Go are example
s of languages\nthat use this encoding natively.", |
| 890 "Encoding-dependent information (such as `begin_offset`)
is calculated based\non the UTF-16 encoding of the input. Java and Javascript a
re examples of\nlanguages that use this encoding natively.", |
| 891 "Encoding-dependent information (such as `begin_offset`)
is calculated based\non the UTF-32 encoding of the input. Python is an example
of a language\nthat uses this encoding natively." |
| 892 ], |
| 893 "type": "string" |
| 894 }, |
| 895 "document": { |
| 896 "$ref": "Document", |
| 897 "description": "Input document. Currently, `analyzeSentiment
` only supports English text\n(Document.language=\"EN\")." |
| 898 } |
| 899 }, |
| 900 "type": "object" |
| 901 }, |
| 902 "DependencyEdge": { |
| 903 "description": "Represents dependency parse tree information for a t
oken. (For more\ninformation on dependency labels, see\nhttp://www.aclweb.org/an
thology/P13-2017", |
| 904 "id": "DependencyEdge", |
| 905 "properties": { |
| 906 "headTokenIndex": { |
| 907 "description": "Represents the head of this token in the dep
endency tree.\nThis is the index of the token which has an arc going to this tok
en.\nThe index is the position of the token in the array of tokens returned\nby
the API method. If this token is a root token, then the\n`head_token_index` is i
ts own index.", |
| 908 "format": "int32", |
| 909 "type": "integer" |
| 910 }, |
| 911 "label": { |
| 912 "description": "The parse label for the token.", |
| 913 "enum": [ |
| 914 "UNKNOWN", |
| 915 "ABBREV", |
| 916 "ACOMP", |
| 917 "ADVCL", |
| 918 "ADVMOD", |
| 919 "AMOD", |
| 920 "APPOS", |
| 921 "ATTR", |
| 922 "AUX", |
| 923 "AUXPASS", |
| 924 "CC", |
| 925 "CCOMP", |
| 926 "CONJ", |
| 927 "CSUBJ", |
| 928 "CSUBJPASS", |
| 929 "DEP", |
| 930 "DET", |
| 931 "DISCOURSE", |
| 932 "DOBJ", |
| 933 "EXPL", |
| 934 "GOESWITH", |
| 935 "IOBJ", |
| 936 "MARK", |
| 937 "MWE", |
| 938 "MWV", |
| 939 "NEG", |
| 940 "NN", |
| 941 "NPADVMOD", |
| 942 "NSUBJ", |
| 943 "NSUBJPASS", |
| 944 "NUM", |
| 945 "NUMBER", |
| 946 "P", |
| 947 "PARATAXIS", |
| 948 "PARTMOD", |
| 949 "PCOMP", |
| 950 "POBJ", |
| 951 "POSS", |
| 952 "POSTNEG", |
| 953 "PRECOMP", |
| 954 "PRECONJ", |
| 955 "PREDET", |
| 956 "PREF", |
| 957 "PREP", |
| 958 "PRONL", |
| 959 "PRT", |
| 960 "PS", |
| 961 "QUANTMOD", |
| 962 "RCMOD", |
| 963 "RCMODREL", |
| 964 "RDROP", |
| 965 "REF", |
| 966 "REMNANT", |
| 967 "REPARANDUM", |
| 968 "ROOT", |
| 969 "SNUM", |
| 970 "SUFF", |
| 971 "TMOD", |
| 972 "TOPIC", |
| 973 "VMOD", |
| 974 "VOCATIVE", |
| 975 "XCOMP", |
| 976 "SUFFIX", |
| 977 "TITLE", |
| 978 "ADVPHMOD", |
| 979 "AUXCAUS", |
| 980 "AUXVV", |
| 981 "DTMOD", |
| 982 "FOREIGN", |
| 983 "KW", |
| 984 "LIST", |
| 985 "NOMC", |
| 986 "NOMCSUBJ", |
| 987 "NOMCSUBJPASS", |
| 988 "NUMC", |
| 989 "COP", |
| 990 "DISLOCATED" |
| 991 ], |
| 992 "enumDescriptions": [ |
| 993 "Unknown", |
| 994 "Abbreviation modifier", |
| 995 "Adjectival complement", |
| 996 "Adverbial clause modifier", |
| 997 "Adverbial modifier", |
| 998 "Adjectival modifier of an NP", |
| 999 "Appositional modifier of an NP", |
| 1000 "Attribute dependent of a copular verb", |
| 1001 "Auxiliary (non-main) verb", |
| 1002 "Passive auxiliary", |
| 1003 "Coordinating conjunction", |
| 1004 "Clausal complement of a verb or adjective", |
| 1005 "Conjunct", |
| 1006 "Clausal subject", |
| 1007 "Clausal passive subject", |
| 1008 "Dependency (unable to determine)", |
| 1009 "Determiner", |
| 1010 "Discourse", |
| 1011 "Direct object", |
| 1012 "Expletive", |
| 1013 "Goes with (part of a word in a text not well edited)", |
| 1014 "Indirect object", |
| 1015 "Marker (word introducing a subordinate clause)", |
| 1016 "Multi-word expression", |
| 1017 "Multi-word verbal expression", |
| 1018 "Negation modifier", |
| 1019 "Noun compound modifier", |
| 1020 "Noun phrase used as an adverbial modifier", |
| 1021 "Nominal subject", |
| 1022 "Passive nominal subject", |
| 1023 "Numeric modifier of a noun", |
| 1024 "Element of compound number", |
| 1025 "Punctuation mark", |
| 1026 "Parataxis relation", |
| 1027 "Participial modifier", |
| 1028 "The complement of a preposition is a clause", |
| 1029 "Object of a preposition", |
| 1030 "Possession modifier", |
| 1031 "Postverbal negative particle", |
| 1032 "Predicate complement", |
| 1033 "Preconjunt", |
| 1034 "Predeterminer", |
| 1035 "Prefix", |
| 1036 "Prepositional modifier", |
| 1037 "The relationship between a verb and verbal morpheme", |
| 1038 "Particle", |
| 1039 "Associative or possessive marker", |
| 1040 "Quantifier phrase modifier", |
| 1041 "Relative clause modifier", |
| 1042 "Complementizer in relative clause", |
| 1043 "Ellipsis without a preceding predicate", |
| 1044 "Referent", |
| 1045 "Remnant", |
| 1046 "Reparandum", |
| 1047 "Root", |
| 1048 "Suffix specifying a unit of number", |
| 1049 "Suffix", |
| 1050 "Temporal modifier", |
| 1051 "Topic marker", |
| 1052 "Clause headed by an infinite form of the verb that modi
fies a noun", |
| 1053 "Vocative", |
| 1054 "Open clausal complement", |
| 1055 "Name suffix", |
| 1056 "Name title", |
| 1057 "Adverbial phrase modifier", |
| 1058 "Causative auxiliary", |
| 1059 "Helper auxiliary", |
| 1060 "Rentaishi (Prenominal modifier)", |
| 1061 "Foreign words", |
| 1062 "Keyword", |
| 1063 "List for chains of comparable items", |
| 1064 "Nominalized clause", |
| 1065 "Nominalized clausal subject", |
| 1066 "Nominalized clausal passive", |
| 1067 "Compound of numeric modifier", |
| 1068 "Copula", |
| 1069 "Dislocated relation (for fronted/topicalized elements)" |
| 1070 ], |
| 1071 "type": "string" |
| 1072 } |
| 1073 }, |
1074 "type": "object" | 1074 "type": "object" |
1075 } | 1075 } |
1076 }, | 1076 }, |
1077 "servicePath": "", | 1077 "servicePath": "", |
1078 "title": "Google Cloud Natural Language API", | 1078 "title": "Google Cloud Natural Language API", |
1079 "version": "v1" | 1079 "version": "v1" |
1080 } | 1080 } |
OLD | NEW |