|
1 | 1 | /*
|
2 |
| - * Copyright 2016 Google Inc. All rights reserved. |
| 2 | + * Copyright 2017, Google Inc. All rights reserved. |
3 | 3 | *
|
4 | 4 | * Licensed under the Apache License, Version 2.0 (the "License");
|
5 | 5 | * you may not use this file except in compliance with the License.
|
6 | 6 | * You may obtain a copy of the License at
|
7 | 7 | *
|
8 |
| - * http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | + * http://www.apache.org/licenses/LICENSE-2.0 |
9 | 9 | *
|
10 | 10 | * Unless required by applicable law or agreed to in writing, software
|
11 | 11 | * distributed under the License is distributed on an "AS IS" BASIS,
|
@@ -35,7 +35,7 @@ var SERVICE_ADDRESS = 'language.googleapis.com';
|
35 | 35 |
|
36 | 36 | var DEFAULT_SERVICE_PORT = 443;
|
37 | 37 |
|
38 |
| -var CODE_GEN_NAME_VERSION = 'gapic/0.1.0'; |
| 38 | +var CODE_GEN_NAME_VERSION = 'gapic/0.7.1'; |
39 | 39 |
|
40 | 40 | /**
|
41 | 41 | * The scopes needed to make gRPC calls to all of the methods defined in
|
@@ -111,9 +111,10 @@ function LanguageServiceClient(gaxGrpc, grpcClients, opts) {
|
111 | 111 | });
|
112 | 112 | }
|
113 | 113 |
|
| 114 | + |
114 | 115 | /**
|
115 | 116 | * Get the project ID used by this class.
|
116 |
| - * @aram {function(Error, string)} callback - the callback to be called with |
| 117 | + * @param {function(Error, string)} callback - the callback to be called with |
117 | 118 | * the current project Id.
|
118 | 119 | */
|
119 | 120 | LanguageServiceClient.prototype.getProjectId = function(callback) {
|
@@ -171,8 +172,9 @@ LanguageServiceClient.prototype.analyzeSentiment = function(request, options, ca
|
171 | 172 | };
|
172 | 173 |
|
173 | 174 | /**
|
174 |
| - * Finds named entities (currently finds proper names) in the text, |
175 |
| - * entity types, salience, mentions for each entity, and other properties. |
| 175 | + * Finds named entities (currently proper names and common nouns) in the text |
| 176 | + * along with entity types, salience, mentions for each entity, and |
| 177 | + * other properties. |
176 | 178 | *
|
177 | 179 | * @param {Object} request
|
178 | 180 | * The request object that will be sent.
|
|
0 commit comments