"GivenName" (Text Content Type)
-
See Also
- TextCases
- TextPosition
- TextSentences
- Containing
-
- Entity Types
- GivenName
-
- Interpreter Types
- GivenName
- ComputedGivenName
-
- Text Contents
- Surname
- PersonTitle
- Person
- Language
- Religion
- Country
- Related Guides
-
-
See Also
- TextCases
- TextPosition
- TextSentences
- Containing
-
- Entity Types
- GivenName
-
- Interpreter Types
- GivenName
- ComputedGivenName
-
- Text Contents
- Surname
- PersonTitle
- Person
- Language
- Religion
- Country
- Related Guides
-
See Also
"GivenName" (Text Content Type)
Text identified as the name of a given name expressed in natural language.
Details
- "GivenName" can be used in TextCases, TextPosition and TextContents.
- "GivenName" corresponds to any mention of a given name (real or not real) in the context of the text.
- Homonyms of given names that are not given names should not be detected as "GivenName" (if the context allows disambiguation).
- TextCases[…,"GivenName""Interpretation"] attempts to return entities of type "GivenName", as Interpreter["GivenName"] does.
- Any specific "GivenName" entity such as
can also be used as a content type in TextCases, TextPosition and TextContents.
Examples
Basic Examples (3)
Find occurrences of given names in a text:
TextCases["Founded in the late 1970s by Peter Hein, Frank Fenstermacher, Kurt Dahlke and Michael Kemner.", "GivenName"]Get the result as a list of "GivenName" entities:
TextCases["Founded in the late 1970s by Peter Hein, Frank Fenstermacher, Kurt Dahlke and Michael Kemner.", "GivenName" -> "Interpretation", VerifyInterpretation -> True]A similar result can be obtained by applying Interpreter["GivenName"] to text snippets:
Interpreter["GivenName"][{"Peter", "Frank", "Kurt"}]Get properties about occurrences of given names:
TextContents["Founded in the late 1970s by Peter Hein, Frank Fenstermacher, Kurt Dahlke and Michael Kemner.", "GivenName", All]Find mentions of Peter in a text:
TextContents["The experimental post-punk group La Düsseldorf was named after the city, for which it paid with a legal case in the early 1980s. Another famous formation is Fehlfarben. Founded in the late 1970s by Peter Hein, Frank Fenstermacher, Kurt Dahlke and Michael Kemner. Düsseldorf appears is several songs, including Düsseldorf by the British indie band Teleman and Wärst du doch in Düsseldorf geblieben by Danish singer Dorthe Kollo.", Entity["GivenName", {"Peter", "UnitedStates", "male"}]]See Also
TextCases TextPosition TextSentences Containing
Entity Types: GivenName
Interpreter Types: GivenName ComputedGivenName
Text Contents: Surname PersonTitle Person Language Religion Country