Skip to content

Commit

Permalink
fix: update sample to use a long enough string for classify-text (#97)
Browse files Browse the repository at this point in the history
Fixes #94
  • Loading branch information
JustinBeckwith authored and sofisl committed Oct 13, 2022
1 parent 2b10058 commit 1f947fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/google-cloud-language/samples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Examples:
node analyze.v1.js syntax-file my-bucket file.txt Detects syntax in gs://my-bucket/file.txt
node analyze.v1.js entity-sentiment-text "President Obama is speaking at the White House."
node analyze.v1.js entity-sentiment-file my-bucket file.txt Detects sentiment of entities in gs://my-bucket/file.txt
node analyze.v1.js classify-text "Android is a mobile operating system developed by Google."
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."
node analyze.v1.js classify-file my-bucket android_text.txt Detects syntax in gs://my-bucket/android_text.txt
For more information, see https://cloud.google.com/natural-language/docs
Expand Down Expand Up @@ -99,7 +99,7 @@ Examples:
node analyze.v1beta2.js entities-file my-bucket file.txt Detects entities in gs://my-bucket/file.txt
node analyze.v1beta2.js syntax-text "President Obama is speaking at the White House."
node analyze.v1beta2.js syntax-file my-bucket file.txt Detects syntax in gs://my-bucket/file.txt
node analyze.v1beta2.js classify-text "Android is a mobile operating system developed by Google."
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."
node analyze.v1beta2.js classify-file my-bucket Detects syntax in gs://my-bucket/android_text.txt
android_text.txt
Expand Down

0 comments on commit 1f947fe

Please sign in to comment.