From e121a35579e73377f998c11bcc09ba0486736404 Mon Sep 17 00:00:00 2001 From: Google APIs Date: Wed, 28 Aug 2019 11:23:06 -0700 Subject: [PATCH] Synchronize new proto/yaml changes. PiperOrigin-RevId: 265953539 --- .../language/v1/samples/test/analyzing_entities.test.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/google/cloud/language/v1/samples/test/analyzing_entities.test.yaml b/google/cloud/language/v1/samples/test/analyzing_entities.test.yaml index 42ebc8a1..5fafd01e 100644 --- a/google/cloud/language/v1/samples/test/analyzing_entities.test.yaml +++ b/google/cloud/language/v1/samples/test/analyzing_entities.test.yaml @@ -12,7 +12,7 @@ test: - assert_contains: - {literal: "Representative name for the entity: California"} - {literal: "Entity type: LOCATION"} - - {literal: "Salience score: 1.0"} + - {literal: "Salience score:"} - {literal: "wikipedia_url: https://en.wikipedia.org/wiki/California"} - {literal: "mid: /m/01n7q"} - {literal: "Mention text: California"} @@ -44,6 +44,7 @@ test: - name: language_entities_text - Analyzing the Entities of a text string (*metadata attributes*) spec: # Try out some of the metadata attributes which should be available for dates, addresses, etc. + # In case fake (555) area code numbers don't work, using United States Naval Observatory number. # Custom value: "I called 202-762-1401 on January 31, 2019 from 1600 Amphitheatre Parkway, Mountain View, CA." - call: sample: language_entities_text @@ -73,7 +74,7 @@ test: - assert_contains: - {literal: "Representative name for the entity: California"} - {literal: "Entity type: LOCATION"} - - {literal: "Salience score: 1.0"} + - {literal: "Salience score:"} - {literal: "wikipedia_url: https://en.wikipedia.org/wiki/California"} - {literal: "mid: /m/01n7q"} - {literal: "Mention text: California"}