Skip to content

Commit 1f947fe

Browse files
JustinBeckwithsofisl
authored andcommitted
fix: update sample to use a long enough string for classify-text (#97)
Fixes #94
1 parent 2b10058 commit 1f947fe

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • packages/google-cloud-language/samples

packages/google-cloud-language/samples/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ Examples:
5858
node analyze.v1.js syntax-file my-bucket file.txt Detects syntax in gs://my-bucket/file.txt
5959
node analyze.v1.js entity-sentiment-text "President Obama is speaking at the White House."
6060
node analyze.v1.js entity-sentiment-file my-bucket file.txt Detects sentiment of entities in gs://my-bucket/file.txt
61-
node analyze.v1.js classify-text "Android is a mobile operating system developed by Google."
61+
node analyze.v1.js classify-text "Android is a mobile operating system developed by Google, based on the Linux kernel and designed primarily for touchscreen mobile devices such as smartphones and tablets."
6262
node analyze.v1.js classify-file my-bucket android_text.txt Detects syntax in gs://my-bucket/android_text.txt
6363
6464
For more information, see https://cloud.google.com/natural-language/docs
@@ -99,7 +99,7 @@ Examples:
9999
node analyze.v1beta2.js entities-file my-bucket file.txt Detects entities in gs://my-bucket/file.txt
100100
node analyze.v1beta2.js syntax-text "President Obama is speaking at the White House."
101101
node analyze.v1beta2.js syntax-file my-bucket file.txt Detects syntax in gs://my-bucket/file.txt
102-
node analyze.v1beta2.js classify-text "Android is a mobile operating system developed by Google."
102+
node analyze.v1beta2.js classify-text "Android is a mobile operating system developed by Google, based on the Linux kernel and designed primarily for touchscreen mobile devices such as smartphones and tablets."
103103
node analyze.v1beta2.js classify-file my-bucket Detects syntax in gs://my-bucket/android_text.txt
104104
android_text.txt
105105

0 commit comments

Comments
 (0)