Skip to content

Commit 6d7cc68

Browse files
nnegreyNimJay
authored andcommitted
fix: update analyze.v1.js (#306)
* Update analyze.v1.js * Update analyze.v1.js
1 parent 90c5815 commit 6d7cc68

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cloud-language/snippets/analyze.v1.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright 2017, Google, Inc.
2+
* Copyright 2017 Google LLC
33
* Licensed under the Apache License, Version 2.0 (the "License");
44
* you may not use this file except in compliance with the License.
55
* You may obtain a copy of the License at
@@ -120,7 +120,7 @@ async function analyzeEntitiesOfText(text) {
120120
console.log(entity.name);
121121
console.log(` - Type: ${entity.type}, Salience: ${entity.salience}`);
122122
if (entity.metadata && entity.metadata.wikipedia_url) {
123-
console.log(` - Wikipedia URL: ${entity.metadata.wikipedia_url}$`);
123+
console.log(` - Wikipedia URL: ${entity.metadata.wikipedia_url}`);
124124
}
125125
});
126126
// [END language_entities_text]
@@ -155,7 +155,7 @@ async function analyzeEntitiesInFile(bucketName, fileName) {
155155
console.log(entity.name);
156156
console.log(` - Type: ${entity.type}, Salience: ${entity.salience}`);
157157
if (entity.metadata && entity.metadata.wikipedia_url) {
158-
console.log(` - Wikipedia URL: ${entity.metadata.wikipedia_url}$`);
158+
console.log(` - Wikipedia URL: ${entity.metadata.wikipedia_url}`);
159159
}
160160
});
161161

0 commit comments

Comments
 (0)