@@ -169,7 +169,6 @@ public Analyze(LanguageServiceClient languageApi) {
169169 * Gets {@link Entity}s from the string {@code text}.
170170 */
171171 public List <Entity > analyzeEntitiesText (String text ) throws IOException {
172- // Note: This does not work on App Engine standard.
173172 Document doc = Document .newBuilder ()
174173 .setContent (text ).setType (Type .PLAIN_TEXT ).build ();
175174 AnalyzeEntitiesRequest request = AnalyzeEntitiesRequest .newBuilder ()
@@ -183,7 +182,6 @@ public List<Entity> analyzeEntitiesText(String text) throws IOException {
183182 * Gets {@link Entity}s from the contents of the object at the given GCS {@code path}.
184183 */
185184 public List <Entity > analyzeEntitiesFile (String path ) throws IOException {
186- // Note: This does not work on App Engine standard.
187185 Document doc = Document .newBuilder ()
188186 .setGcsContentUri (path ).setType (Type .PLAIN_TEXT ).build ();
189187 AnalyzeEntitiesRequest request = AnalyzeEntitiesRequest .newBuilder ()
@@ -197,7 +195,6 @@ public List<Entity> analyzeEntitiesFile(String path) throws IOException {
197195 * Gets {@link Sentiment} from the string {@code text}.
198196 */
199197 public Sentiment analyzeSentimentText (String text ) throws IOException {
200- // Note: This does not work on App Engine standard.
201198 Document doc = Document .newBuilder ()
202199 .setContent (text ).setType (Type .PLAIN_TEXT ).build ();
203200 AnalyzeSentimentResponse response = languageApi .analyzeSentiment (doc );
@@ -208,7 +205,6 @@ public Sentiment analyzeSentimentText(String text) throws IOException {
208205 * Gets {@link Sentiment} from the contents of the object at the given GCS {@code path}.
209206 */
210207 public Sentiment analyzeSentimentFile (String path ) throws IOException {
211- // Note: This does not work on App Engine standard.
212208 Document doc = Document .newBuilder ()
213209 .setGcsContentUri (path ).setType (Type .PLAIN_TEXT ).build ();
214210 AnalyzeSentimentResponse response = languageApi .analyzeSentiment (doc );
@@ -219,7 +215,6 @@ public Sentiment analyzeSentimentFile(String path) throws IOException {
219215 * Gets {@link Token}s from the string {@code text}.
220216 */
221217 public List <Token > analyzeSyntaxText (String text ) throws IOException {
222- // Note: This does not work on App Engine standard.
223218 Document doc = Document .newBuilder ()
224219 .setContent (text ).setType (Type .PLAIN_TEXT ).build ();
225220 AnalyzeSyntaxRequest request = AnalyzeSyntaxRequest .newBuilder ()
@@ -233,7 +228,6 @@ public List<Token> analyzeSyntaxText(String text) throws IOException {
233228 * Gets {@link Token}s from the contents of the object at the given GCS {@code path}.
234229 */
235230 public List <Token > analyzeSyntaxFile (String path ) throws IOException {
236- // Note: This does not work on App Engine standard.
237231 Document doc = Document .newBuilder ()
238232 .setGcsContentUri (path ).setType (Type .PLAIN_TEXT ).build ();
239233 AnalyzeSyntaxRequest request = AnalyzeSyntaxRequest .newBuilder ()
0 commit comments