"AdministrativeDivision" (Text Content Type)
-
See Also
- TextCases
- TextPosition
- TextSentences
- Containing
- AdministrativeDivisionData
-
- Entity Types
- AdministrativeDivision
-
- Interpreter Types
- AdministrativeDivision
- ComputedAdministrativeDivision
-
- Text Contents
- Location
- LocationEntity
- GeographicRegion
- MetropolitanArea
- Neighborhood
- City
- Country
- Related Guides
-
-
See Also
- TextCases
- TextPosition
- TextSentences
- Containing
- AdministrativeDivisionData
-
- Entity Types
- AdministrativeDivision
-
- Interpreter Types
- AdministrativeDivision
- ComputedAdministrativeDivision
-
- Text Contents
- Location
- LocationEntity
- GeographicRegion
- MetropolitanArea
- Neighborhood
- City
- Country
- Related Guides
-
See Also
"AdministrativeDivision" (Text Content Type)
Text identified as the name of an administrative division.
Details
- "AdministrativeDivision" can be used in TextCases, TextPosition and TextContents.
- "AdministrativeDivision" corresponds to any mention of an administrative division (real or not real) in the context of the text.
- Homonyms of administrative divisions that are not administrative divisions should not be detected as "AdministrativeDivision" (if the context allows disambiguation).
- TextCases[…,"AdministrativeDivision""Interpretation"] attempts to return entities of type "AdministrativeDivision", as Interpreter["AdministrativeDivision"] does.
- Any specific "AdministrativeDivision" entity such as
can also be used as a content type in TextCases, TextPosition and TextContents.
Examples
Basic Examples (3)
Find occurrences of administrative divisions in a text:
TextCases["Although native to the more temperate provinces within China (Anhui, Gansu, Hebei, Heilongjiang, Henan, Hubei, Jiangsu, Jilin, Liaoning, Nei Monggol, Ningxia, Qinghai, Shaanxi, Shandong, Shanxi, Sichuan, Xinjiang), C. ovata is also cultivated in North America and Europe.", "AdministrativeDivision"]Get the result as a list of "AdministrativeDivision" entities:
TextCases["Although native to the more temperate provinces within China (Anhui, Gansu, Hebei, Heilongjiang, Henan, Hubei, Jiangsu, Jilin, Liaoning, Nei Monggol, Ningxia, Qinghai, Shaanxi, Shandong, Shanxi, Sichuan, Xinjiang), C. ovata is also cultivated in North America and Europe.", "AdministrativeDivision" -> "Interpretation", VerifyInterpretation -> True]A similar result can be obtained by applying Interpreter["AdministrativeDivision"] to text snippets:
Interpreter["AdministrativeDivision"][{"Anhui", "Gansu", "Hebei"}]Get properties about occurrences of administrative divisions:
TextContents["Although native to the more temperate provinces within China (Anhui, Gansu, Hebei, Heilongjiang, Henan, Hubei, Jiangsu, Jilin, Liaoning, Nei Monggol, Ningxia, Qinghai, Shaanxi, Shandong, Shanxi, Sichuan, Xinjiang), C. ovata is also cultivated in North America and Europe.", "AdministrativeDivision", All]Find mentions of Neimenggu in a text:
TextContents["Although native to the more temperate provinces within China (Anhui, Gansu, Hebei, Heilongjiang, Henan, Hubei, Jiangsu, Jilin, Liaoning, Nei Monggol, Ningxia, Qinghai, Shaanxi, Shandong, Shanxi, Sichuan, Xinjiang), C. ovata is also cultivated in North America and Europe. It is commonly used to make the undersides of qin.", Entity["AdministrativeDivision", {"Neimenggu", "China"}]]See Also
TextCases TextPosition TextSentences Containing AdministrativeDivisionData
Entity Types: AdministrativeDivision
Interpreter Types: AdministrativeDivision ComputedAdministrativeDivision
Text Contents: Location LocationEntity GeographicRegion MetropolitanArea Neighborhood City Country