Skip to content

Commit

Permalink
Removes unwanted deltas from separate branch
Browse files Browse the repository at this point in the history
  • Loading branch information
gguuss committed Jan 12, 2017
1 parent 8e46dd7 commit 9bffb0e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
2 changes: 0 additions & 2 deletions language/analysis/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ for entity recognition.
This sample requires you to have
[Java8](https://docs.oracle.com/javase/8/docs/technotes/guides/install/install_overview.html).

**Note** The Natural Language client is not supported by App Engine Standard.

## Download Maven

This sample uses the [Apache Maven][maven] build system. Before getting started, be
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,6 @@ public Analyze(LanguageServiceClient languageApi) {
* Gets {@link Entity}s from the string {@code text}.
*/
public List<Entity> analyzeEntitiesText(String text) throws IOException {
// Note: This does not work on App Engine standard.
Document doc = Document.newBuilder()
.setContent(text).setType(Type.PLAIN_TEXT).build();
AnalyzeEntitiesRequest request = AnalyzeEntitiesRequest.newBuilder()
Expand All @@ -183,7 +182,6 @@ public List<Entity> analyzeEntitiesText(String text) throws IOException {
* Gets {@link Entity}s from the contents of the object at the given GCS {@code path}.
*/
public List<Entity> analyzeEntitiesFile(String path) throws IOException {
// Note: This does not work on App Engine standard.
Document doc = Document.newBuilder()
.setGcsContentUri(path).setType(Type.PLAIN_TEXT).build();
AnalyzeEntitiesRequest request = AnalyzeEntitiesRequest.newBuilder()
Expand All @@ -197,7 +195,6 @@ public List<Entity> analyzeEntitiesFile(String path) throws IOException {
* Gets {@link Sentiment} from the string {@code text}.
*/
public Sentiment analyzeSentimentText(String text) throws IOException {
// Note: This does not work on App Engine standard.
Document doc = Document.newBuilder()
.setContent(text).setType(Type.PLAIN_TEXT).build();
AnalyzeSentimentResponse response = languageApi.analyzeSentiment(doc);
Expand All @@ -208,7 +205,6 @@ public Sentiment analyzeSentimentText(String text) throws IOException {
* Gets {@link Sentiment} from the contents of the object at the given GCS {@code path}.
*/
public Sentiment analyzeSentimentFile(String path) throws IOException {
// Note: This does not work on App Engine standard.
Document doc = Document.newBuilder()
.setGcsContentUri(path).setType(Type.PLAIN_TEXT).build();
AnalyzeSentimentResponse response = languageApi.analyzeSentiment(doc);
Expand All @@ -219,7 +215,6 @@ public Sentiment analyzeSentimentFile(String path) throws IOException {
* Gets {@link Token}s from the string {@code text}.
*/
public List<Token> analyzeSyntaxText(String text) throws IOException {
// Note: This does not work on App Engine standard.
Document doc = Document.newBuilder()
.setContent(text).setType(Type.PLAIN_TEXT).build();
AnalyzeSyntaxRequest request = AnalyzeSyntaxRequest.newBuilder()
Expand All @@ -233,7 +228,6 @@ public List<Token> analyzeSyntaxText(String text) throws IOException {
* Gets {@link Token}s from the contents of the object at the given GCS {@code path}.
*/
public List<Token> analyzeSyntaxFile(String path) throws IOException {
// Note: This does not work on App Engine standard.
Document doc = Document.newBuilder()
.setGcsContentUri(path).setType(Type.PLAIN_TEXT).build();
AnalyzeSyntaxRequest request = AnalyzeSyntaxRequest.newBuilder()
Expand Down

0 comments on commit 9bffb0e

Please sign in to comment.