"Religion" (Text Content Type)
-
See Also
- TextCases
- TextPosition
- TextSentences
- Containing
-
- Entity Types
- Religion
-
- Interpreter Types
- Religion
- ComputedReligion
-
- Text Contents
- Mythology
- Language
- Person
- Country
- Related Guides
-
-
See Also
- TextCases
- TextPosition
- TextSentences
- Containing
-
- Entity Types
- Religion
-
- Interpreter Types
- Religion
- ComputedReligion
-
- Text Contents
- Mythology
- Language
- Person
- Country
- Related Guides
-
See Also
"Religion" (Text Content Type)
Text identified as the name of a religion.
Details
- "Religion" can be used in TextCases, TextPosition and TextContents.
- "Religion" corresponds to any mention of a religion (real or not real) in the context of the text.
- Homonyms of religions that are not religions should not be detected as "Religion" (if the context allows disambiguation).
- TextCases[…,"Religion""Interpretation"] attempts to return entities of type "Religion", as Interpreter["Religion"] does.
- Any specific "Religion" entity such as
can also be used as a content type in TextCases, TextPosition and TextContents.
Examples
Basic Examples (3)
Find occurrences of religions in a text:
TextCases["The King and Queen, Mayor of Brighton, Chief Constable of Brighton and other dignitaries visited frequently, and careful arrangements were made at the Royal Pavilion to provide for the different dietary and other cultural requirements of Hindus, Sikhs and Muslims.", "Religion"]Get the result as a list of "Religion" entities:
TextCases["The King and Queen, Mayor of Brighton, Chief Constable of Brighton and other dignitaries visited frequently, and careful arrangements were made at the Royal Pavilion to provide for the different dietary and other cultural requirements of Hindus, Sikhs and Muslims.", "Religion" -> "Interpretation", VerifyInterpretation -> True]A similar result can be obtained by applying Interpreter["Religion"] to text snippets:
Interpreter["Religion"][{"Hindus", "Sikhs", "Muslims"}]Get properties about occurrences of religions:
TextContents["The King and Queen, Mayor of Brighton, Chief Constable of Brighton and other dignitaries visited frequently, and careful arrangements were made at the Royal Pavilion to provide for the different dietary and other cultural requirements of Hindus, Sikhs and Muslims.", "Religion", All]Find mentions of Islam in a text:
TextContents["King George V is said to have decreed that Indian soldiers were to be treated at the Pavilion, apparently believing that the flamboyant Indo-Saracenic building would provide familiar surroundings. In December 1914, 345 injured soldiers were transported to Brighton by train and were transferred to the hospitals. The King and Queen, Mayor of Brighton, Chief Constable of Brighton and other dignitaries visited frequently, and careful arrangements were made at the Royal Pavilion to provide for the different dietary and other cultural requirements of Hindus, Sikhs and Muslims.", Entity["Religion", "Muslim"]]See Also
TextCases TextPosition TextSentences Containing
Entity Types: Religion
Interpreter Types: Religion ComputedReligion