@@ -169,7 +169,6 @@ public Analyze(LanguageServiceClient languageApi) {
169
169
* Gets {@link Entity}s from the string {@code text}.
170
170
*/
171
171
public List <Entity > analyzeEntitiesText (String text ) throws IOException {
172
- // Note: This does not work on App Engine standard.
173
172
Document doc = Document .newBuilder ()
174
173
.setContent (text ).setType (Type .PLAIN_TEXT ).build ();
175
174
AnalyzeEntitiesRequest request = AnalyzeEntitiesRequest .newBuilder ()
@@ -183,7 +182,6 @@ public List<Entity> analyzeEntitiesText(String text) throws IOException {
183
182
* Gets {@link Entity}s from the contents of the object at the given GCS {@code path}.
184
183
*/
185
184
public List <Entity > analyzeEntitiesFile (String path ) throws IOException {
186
- // Note: This does not work on App Engine standard.
187
185
Document doc = Document .newBuilder ()
188
186
.setGcsContentUri (path ).setType (Type .PLAIN_TEXT ).build ();
189
187
AnalyzeEntitiesRequest request = AnalyzeEntitiesRequest .newBuilder ()
@@ -197,7 +195,6 @@ public List<Entity> analyzeEntitiesFile(String path) throws IOException {
197
195
* Gets {@link Sentiment} from the string {@code text}.
198
196
*/
199
197
public Sentiment analyzeSentimentText (String text ) throws IOException {
200
- // Note: This does not work on App Engine standard.
201
198
Document doc = Document .newBuilder ()
202
199
.setContent (text ).setType (Type .PLAIN_TEXT ).build ();
203
200
AnalyzeSentimentResponse response = languageApi .analyzeSentiment (doc );
@@ -208,7 +205,6 @@ public Sentiment analyzeSentimentText(String text) throws IOException {
208
205
* Gets {@link Sentiment} from the contents of the object at the given GCS {@code path}.
209
206
*/
210
207
public Sentiment analyzeSentimentFile (String path ) throws IOException {
211
- // Note: This does not work on App Engine standard.
212
208
Document doc = Document .newBuilder ()
213
209
.setGcsContentUri (path ).setType (Type .PLAIN_TEXT ).build ();
214
210
AnalyzeSentimentResponse response = languageApi .analyzeSentiment (doc );
@@ -219,7 +215,6 @@ public Sentiment analyzeSentimentFile(String path) throws IOException {
219
215
* Gets {@link Token}s from the string {@code text}.
220
216
*/
221
217
public List <Token > analyzeSyntaxText (String text ) throws IOException {
222
- // Note: This does not work on App Engine standard.
223
218
Document doc = Document .newBuilder ()
224
219
.setContent (text ).setType (Type .PLAIN_TEXT ).build ();
225
220
AnalyzeSyntaxRequest request = AnalyzeSyntaxRequest .newBuilder ()
@@ -233,7 +228,6 @@ public List<Token> analyzeSyntaxText(String text) throws IOException {
233
228
* Gets {@link Token}s from the contents of the object at the given GCS {@code path}.
234
229
*/
235
230
public List <Token > analyzeSyntaxFile (String path ) throws IOException {
236
- // Note: This does not work on App Engine standard.
237
231
Document doc = Document .newBuilder ()
238
232
.setGcsContentUri (path ).setType (Type .PLAIN_TEXT ).build ();
239
233
AnalyzeSyntaxRequest request = AnalyzeSyntaxRequest .newBuilder ()
0 commit comments