Synchronize new proto/yaml changes.
PiperOrigin-RevId: 265953539
This commit is contained in:
parent
dbd38035c3
commit
e121a35579
|
|
@ -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"}
|
||||
|
|
|
|||
Loading…
Reference in New Issue