From 89b88ae715d078446e86de4bfe71c21813d9962a Mon Sep 17 00:00:00 2001 From: Noah Negrey Date: Fri, 4 Oct 2019 10:53:21 -0600 Subject: [PATCH] fix: update analyze.v1.js (#306) * Update analyze.v1.js * Update analyze.v1.js --- cloud-language/snippets/analyze.v1.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cloud-language/snippets/analyze.v1.js b/cloud-language/snippets/analyze.v1.js index ed33169d1f..5cdc2a4549 100644 --- a/cloud-language/snippets/analyze.v1.js +++ b/cloud-language/snippets/analyze.v1.js @@ -1,5 +1,5 @@ /** - * Copyright 2017, Google, Inc. + * Copyright 2017 Google LLC * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at @@ -120,7 +120,7 @@ async function analyzeEntitiesOfText(text) { console.log(entity.name); console.log(` - Type: ${entity.type}, Salience: ${entity.salience}`); if (entity.metadata && entity.metadata.wikipedia_url) { - console.log(` - Wikipedia URL: ${entity.metadata.wikipedia_url}$`); + console.log(` - Wikipedia URL: ${entity.metadata.wikipedia_url}`); } }); // [END language_entities_text] @@ -155,7 +155,7 @@ async function analyzeEntitiesInFile(bucketName, fileName) { console.log(entity.name); console.log(` - Type: ${entity.type}, Salience: ${entity.salience}`); if (entity.metadata && entity.metadata.wikipedia_url) { - console.log(` - Wikipedia URL: ${entity.metadata.wikipedia_url}$`); + console.log(` - Wikipedia URL: ${entity.metadata.wikipedia_url}`); } });