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 NimJay committed Nov 10, 2022
1 parent 57a231e commit 988233a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cloud-language/snippets/analyze.v1.js
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ require(`yargs`)
`Detects sentiment of entities in gs://my-bucket/file.txt`
)
.example(
`node $0 classify-text "Android is a mobile operating system developed by Google."`
`node $0 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."`
)
.example(
`node $0 classify-file my-bucket android_text.txt`,
Expand Down
2 changes: 1 addition & 1 deletion cloud-language/snippets/analyze.v1beta2.js
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ require(`yargs`)
`Detects syntax in gs://my-bucket/file.txt`
)
.example(
`node $0 classify-text "Android is a mobile operating system developed by Google."`
`node $0 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."`
)
.example(
`node $0 classify-file my-bucket android_text.txt`,
Expand Down

0 comments on commit 988233a

Please sign in to comment.