Skip to content

Commit 9bffb0e

Browse files
committed
Removes unwanted deltas from separate branch
1 parent 8e46dd7 commit 9bffb0e

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

language/analysis/README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ for entity recognition.
1010
This sample requires you to have
1111
[Java8](https://docs.oracle.com/javase/8/docs/technotes/guides/install/install_overview.html).
1212

13-
**Note** The Natural Language client is not supported by App Engine Standard.
14-
1513
## Download Maven
1614

1715
This sample uses the [Apache Maven][maven] build system. Before getting started, be

language/analysis/src/main/java/com/google/cloud/language/samples/Analyze.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)