How-to · Text
Find the people, places, and organizations mentioned in text
Softanza
Q("Alice met Bob in Paris.").TextQ().NamedEntities()
#--> [ [ "Alice", "PERSON" ], [ "Bob", "PERSON" ], [ "Paris", "LOCATION" ] ]Output
Alice PERSON Bob PERSON Paris LOCATION
ran: printed what the recipe promises
Softanza
Q("Alice met Bob in Paris.").TextQ().PersonNames()
#--> [ "Alice", "Bob" ]Output
Alice Bob
ran: printed what the recipe promises
run on 2026-10-02 22:33 inside the library at commit 0e72e2e2c; the expression carrying the promise was printed for the run · The recipe on GitHub(opens in a new tab)
The methods
stzText.NamedEntities · stzText.PersonNames · stzText.Organizations · stzText.Locations
See also
Words for this task: entities, who is mentioned, people, places, names, organizations, companies, cities

