You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Cloud Natural Language API](https://cloud.google.com/natural-language/docs) provides natural language understanding technologies to developers, including sentiment analysis, entity analysis, and syntax analysis. This API is part of the larger Cloud Machine Learning API family.
13
13
14
+
14
15
*[Natural Language API Node.js Client API Reference][client-docs]
Copy file name to clipboardExpand all lines: packages/google-cloud-language/samples/README.md
+29-17
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
# Google Cloud Natural Language API: Node.js Samples
4
4
5
-
[]()
5
+
[![Open in Cloud Shell][shell_img]][shell_link]
6
6
7
7
[Cloud Natural Language API](https://cloud.google.com/natural-language/docs) provides natural language understanding technologies to developers, including sentiment analysis, entity analysis, and syntax analysis. This API is part of the larger Cloud Machine Learning API family.
8
8
@@ -25,18 +25,23 @@ library's README.
25
25
26
26
View the [source code][analyze-v1_0_code].
27
27
28
+
[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-language&page=editor&open_in_editor=samples/analyze.v1.js,samples/README.md)
29
+
28
30
__Usage:__`node analyze.v1.js --help`
29
31
30
32
```
33
+
analyze.v1.js <command>
34
+
31
35
Commands:
32
-
sentiment-text <text> Detects sentiment of a string.
33
-
sentiment-file <bucketName> <fileName> Detects sentiment in a file in Google Cloud Storage.
34
-
entities-text <text> Detects entities in a string.
35
-
entities-file <bucketName> <fileName> Detects entities in a file in Google Cloud Storage.
36
-
syntax-text <text> Detects syntax of a string.
37
-
syntax-file <bucketName> <fileName> Detects syntax in a file in Google Cloud Storage.
38
-
entity-sentiment-text <text> Detects sentiment of the entities in a string.
39
-
entity-sentiment-file <bucketName> <fileName> Detects sentiment of the entities in a file in Google Cloud Storage.
36
+
analyze.v1.js sentiment-text <text> Detects sentiment of a string.
37
+
analyze.v1.js sentiment-file <bucketName> <fileName> Detects sentiment in a file in Google Cloud Storage.
38
+
analyze.v1.js entities-text <text> Detects entities in a string.
39
+
analyze.v1.js entities-file <bucketName> <fileName> Detects entities in a file in Google Cloud Storage.
40
+
analyze.v1.js syntax-text <text> Detects syntax of a string.
41
+
analyze.v1.js syntax-file <bucketName> <fileName> Detects syntax in a file in Google Cloud Storage.
42
+
analyze.v1.js entity-sentiment-text <text> Detects sentiment of the entities in a string.
43
+
analyze.v1.js entity-sentiment-file <bucketName> <fileName> Detects sentiment of the entities in a file in Google
44
+
Cloud Storage.
40
45
41
46
Options:
42
47
--version Show version number [boolean]
@@ -62,18 +67,22 @@ For more information, see https://cloud.google.com/natural-language/docs
62
67
63
68
View the [source code][analyze-v1beta2_1_code].
64
69
70
+
[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-language&page=editor&open_in_editor=samples/analyze.v1beta2.js,samples/README.md)
71
+
65
72
__Usage:__`node analyze.v1beta2.js --help`
66
73
67
74
```
75
+
analyze.v1beta2.js <command>
76
+
68
77
Commands:
69
-
sentiment-text <text> Detects sentiment of a string.
70
-
sentiment-file <bucketName> <fileName> Detects sentiment in a file in Google Cloud Storage.
71
-
entities-text <text> Detects entities in a string.
72
-
entities-file <bucketName> <fileName> Detects entities in a file in Google Cloud Storage.
73
-
syntax-text <text> Detects syntax of a string.
74
-
syntax-file <bucketName> <fileName> Detects syntax in a file in Google Cloud Storage.
75
-
classify-text <text> Classifies text of a string.
76
-
classify-file <bucketName> <fileName> Classifies text in a file in Google Cloud Storage.
78
+
analyze.v1beta2.js sentiment-text <text> Detects sentiment of a string.
79
+
analyze.v1beta2.js sentiment-file <bucketName> <fileName> Detects sentiment in a file in Google Cloud Storage.
80
+
analyze.v1beta2.js entities-text <text> Detects entities in a string.
81
+
analyze.v1beta2.js entities-file <bucketName> <fileName> Detects entities in a file in Google Cloud Storage.
82
+
analyze.v1beta2.js syntax-text <text> Detects syntax of a string.
83
+
analyze.v1beta2.js syntax-file <bucketName> <fileName> Detects syntax in a file in Google Cloud Storage.
84
+
analyze.v1beta2.js classify-text <text> Classifies text of a string.
85
+
analyze.v1beta2.js classify-file <bucketName> <fileName> Classifies text in a file in Google Cloud Storage.
77
86
78
87
Options:
79
88
--version Show version number [boolean]
@@ -95,3 +104,6 @@ For more information, see https://cloud.google.com/natural-language/docs
0 commit comments