Synchronize new proto/yaml changes.

PiperOrigin-RevId: 265953539
This commit is contained in:
Google APIs 2019-08-28 11:23:06 -07:00 committed by Copybara-Service
parent dbd38035c3
commit e121a35579
1 changed files with 3 additions and 2 deletions

View File

@ -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"}