"PersonTitle" (Text Content Type)
-
See Also
- TextCases
- TextPosition
- TextSentences
- Containing
-
- Entity Types
- PersonTitle
-
- Interpreter Types
- PersonTitle
- ComputedPersonTitle
-
- Text Contents
- Surname
- GivenName
- Person
- University
- Country
- Religion
- Related Guides
-
-
See Also
- TextCases
- TextPosition
- TextSentences
- Containing
-
- Entity Types
- PersonTitle
-
- Interpreter Types
- PersonTitle
- ComputedPersonTitle
-
- Text Contents
- Surname
- GivenName
- Person
- University
- Country
- Religion
- Related Guides
-
See Also
"PersonTitle" (Text Content Type)
Text identified as the name of a person title.
Details
- "PersonTitle" can be used in TextCases, TextPosition and TextContents.
- "PersonTitle" corresponds to any mention of a person title (real or not real) in the context of the text.
- Homonyms of person titles that are not person titles should not be detected as "PersonTitle" (if the context allows disambiguation).
- TextCases[…,"PersonTitle""Interpretation"] attempts to return entities of type "PersonTitle", as Interpreter["PersonTitle"] does.
- Any specific "PersonTitle" entity such as
can also be used as a content type in TextCases, TextPosition and TextContents.
Examples
Basic Examples (3)
Find occurrences of person titles in a text:
TextCases["He graduated from Harvard University with a Ph.D. in political science in 1993 after earning a B.A. from Yale University.", "PersonTitle"]Get the result as a list of "PersonTitle" entities:
TextCases["He graduated from Harvard University with a Ph.D. in political science in 1993 after earning a B.A. from Yale University.", "PersonTitle" -> "Interpretation", VerifyInterpretation -> True]A similar result can be obtained by applying Interpreter["PersonTitle"] to text snippets:
Interpreter["PersonTitle"][{"Ph.D.", "B.A."}]Get properties about occurrences of person titles:
TextContents["He graduated from Harvard University with a Ph.D. in political science in 1993 after earning a B.A. from Yale University.", "PersonTitle", All]Find mentions of Philosophiae Doctor in a text:
TextContents["At the time of publication author Fareed Zakaria was a 48-year-old married man living in New York City and working as an editor for Newsweek International. Zakaria had immigrated to the United States from India during his university career. He graduated from Harvard University with a Ph.D. in political science in 1993 after earning a B.A. from Yale University. He worked as the managing editor of Foreign Affairs magazine before accepting the editor position at Newsweek.", Entity["PersonTitle", "PhilosophiaeDoctor::d5b5r"]]See Also
TextCases TextPosition TextSentences Containing
Entity Types: PersonTitle
Interpreter Types: PersonTitle ComputedPersonTitle
Text Contents: Surname GivenName Person University Country Religion