"Person" (Text Content Type)
-
See Also
- TextCases
- TextPosition
- TextSentences
- Containing
- PersonData
-
- Entity Types
- Person
-
- Interpreter Types
- Person
- ComputedPerson
-
- Text Contents
- PersonTitle
- Surname
- GivenName
- Country
- Movie
- Book
- MusicAct
- Religion
- Related Guides
-
-
See Also
- TextCases
- TextPosition
- TextSentences
- Containing
- PersonData
-
- Entity Types
- Person
-
- Interpreter Types
- Person
- ComputedPerson
-
- Text Contents
- PersonTitle
- Surname
- GivenName
- Country
- Movie
- Book
- MusicAct
- Religion
- Related Guides
-
See Also
"Person" (Text Content Type)
Text identified as the name of a person.
Details
- "Person" can be used in TextCases, TextPosition and TextContents.
- "Person" corresponds to any mention of a person (real or not real) in the context of the text.
- Homonyms of people that are not people should not be detected as "Person" (if the context allows disambiguation).
- TextCases[…,"Person""Interpretation"] attempts to return entities of type "Person", as Interpreter["Person"] does.
- Any specific "Person" entity such as
can also be used as a content type in TextCases, TextPosition and TextContents.
Examples
Basic Examples (3)
Find occurrences of people in a text:
TextCases["The film Sands of Iwo Jima, directed by Allan Dwan and starring John Wayne in 1949, follows a United States Marine rifle squad preparing for battle at Iwo Jima.", "Person"]Get the result as a list of "Person" entities:
TextCases["The film Sands of Iwo Jima, directed by Allan Dwan and starring John Wayne in 1949, follows a United States Marine rifle squad preparing for battle at Iwo Jima.", "Person" -> "Interpretation", VerifyInterpretation -> True]A similar result can be obtained by applying Interpreter["Person"] to text snippets:
Interpreter["Person"][{"Allan Dwan", "John Wayne"}]Get properties about occurrences of people:
TextContents["The film Sands of Iwo Jima, directed by Allan Dwan and starring John Wayne in 1949, follows a United States Marine rifle squad preparing for battle at Iwo Jima.", "Person", All]Find mentions of Allan Dwan in a text:
TextContents["The film Sands of Iwo Jima, directed by Allan Dwan and starring John Wayne in 1949, follows a United States Marine rifle squad preparing for battle at Iwo Jima. The films Letters from Iwo Jima and Flags of Our Fathers, directed by Clint Eastwood in 2006, treat the theme of this Pacific battle and present the positions of both belligerents in this conflict.", Entity["Person", "AllanDwan::9b8fj"]]See Also
TextCases TextPosition TextSentences Containing PersonData
Entity Types: Person
Interpreter Types: Person ComputedPerson
Text Contents: PersonTitle Surname GivenName Country Movie Book MusicAct Religion