"FictionalCharacter" (Text Content Type)
-
See Also
- TextCases
- TextPosition
- TextSentences
- Containing
-
- Entity Types
- FictionalCharacter
-
- Interpreter Types
- FictionalCharacter
- ComputedFictionalCharacter
-
- Text Contents
- Artwork
- Periodical
- Book
- Movie
- Person
- Mythology
- BroadcastStation
- MusicWork
- Museum
- Pokemon
- Related Guides
-
-
See Also
- TextCases
- TextPosition
- TextSentences
- Containing
-
- Entity Types
- FictionalCharacter
-
- Interpreter Types
- FictionalCharacter
- ComputedFictionalCharacter
-
- Text Contents
- Artwork
- Periodical
- Book
- Movie
- Person
- Mythology
- BroadcastStation
- MusicWork
- Museum
- Pokemon
- Related Guides
-
See Also
"FictionalCharacter" (Text Content Type)
Text identified as the name of a fictional character.
Details
- "FictionalCharacter" can be used in TextCases, TextPosition and TextContents.
- "FictionalCharacter" corresponds to any mention of a fictional character (real or not real) in the context of the text.
- Homonyms of fictional characters that are not fictional characters should not be detected as "FictionalCharacter" (if the context allows disambiguation).
- TextCases[…,"FictionalCharacter""Interpretation"] attempts to return entities of type "FictionalCharacter", as Interpreter["FictionalCharacter"] does.
- Any specific "FictionalCharacter" entity such as
can also be used as a content type in TextCases, TextPosition and TextContents.
Examples
Basic Examples (3)
Find occurrences of fictional characters in a text:
TextCases["Link is first drawn to Shelter when he meets a man, who shows him a picture of a girl that Link realises is an old acquaintance of Ginger and learns that the man is the girl's father and has come to London to look for his daughter.", "FictionalCharacter"]Get the result as a list of "FictionalCharacter" entities:
TextCases["Link is first drawn to Shelter when he meets a man, who shows him a picture of a girl that Link realises is an old acquaintance of Ginger and learns that the man is the girl's father and has come to London to look for his daughter.", "FictionalCharacter" -> "Interpretation", VerifyInterpretation -> True]A similar result can be obtained by applying Interpreter["FictionalCharacter"] to text snippets:
Interpreter["FictionalCharacter"][{"Link", "Ginger"}]Get properties about occurrences of fictional characters:
TextContents["Link is first drawn to Shelter when he meets a man, who shows him a picture of a girl that Link realises is an old acquaintance of Ginger and learns that the man is the girl's father and has come to London to look for his daughter.", "FictionalCharacter", All]Find mentions of Ginger Grant in a text:
TextContents["Shelter then makes plans to murder Link. Link is first drawn to Shelter when he meets a man, who shows him a picture of a girl that Link realises is an old acquaintance of Ginger and learns that the man is the girl's father and has come to London to look for his daughter. He learns that the man has asked other homeless people and they had told him they last saw her leaving with another man. Link finds the house and observes it but fails to see anything.", Entity["FictionalCharacter", "GingerGrant::927cd"]]See Also
TextCases TextPosition TextSentences Containing
Entity Types: FictionalCharacter
Interpreter Types: FictionalCharacter ComputedFictionalCharacter
Text Contents: Artwork Periodical Book Movie Person Mythology BroadcastStation MusicWork Museum Pokemon