-
See Also
- TextCases
- TextPosition
- TextSentences
- Containing
-
- Entity Types
- USCongressionalDistrict
-
- Interpreter Types
- USCongressionalDistrict
- ComputedUSCongressionalDistrict
-
- Text Contents
- Location
- LocationEntity
- SchoolDistrict
- DistrictCourt
- City
- Neighborhood
- MetropolitanArea
- Cemetery
- GeographicRegion
- University
- Museum
- Stadium
- LibraryBranch
- LibrarySystem
- Island
- Country
- AdministrativeDivision
- ZIPCode
- Related Guides
-
-
See Also
- TextCases
- TextPosition
- TextSentences
- Containing
-
- Entity Types
- USCongressionalDistrict
-
- Interpreter Types
- USCongressionalDistrict
- ComputedUSCongressionalDistrict
-
- Text Contents
- Location
- LocationEntity
- SchoolDistrict
- DistrictCourt
- City
- Neighborhood
- MetropolitanArea
- Cemetery
- GeographicRegion
- University
- Museum
- Stadium
- LibraryBranch
- LibrarySystem
- Island
- Country
- AdministrativeDivision
- ZIPCode
- Related Guides
-
See Also
"USCongressionalDistrict" (Text Content Type)
Details
- "USCongressionalDistrict" can be used in TextCases, TextPosition and TextContents.
- "USCongressionalDistrict" corresponds to any mention of an US Congressional district (real or not real) in the context of the text.
- Homonyms of US Congressional districts that are not US Congressional districts should not be detected as "USCongressionalDistrict" (if the context allows disambiguation).
- TextCases[…,"USCongressionalDistrict""Interpretation"] attempts to return entities of type "USCongressionalDistrict", as Interpreter["USCongressionalDistrict"] does.
- Any specific "USCongressionalDistrict" entity such as
can also be used as a content type in TextCases, TextPosition and TextContents.
Examples
Basic Examples (3)
Find occurrences of US Congressional districts in a text:
TextCases["Iowa's 4th congressional district is a congressional district in the U.S. state of Iowa that covers the northwest part of the state.", "USCongressionalDistrict"]Get the result as a list of "USCongressionalDistrict" entities:
TextCases["Iowa's 4th congressional district is a congressional district in the U.S. state of Iowa that covers the northwest part of the state.", "USCongressionalDistrict" -> "Interpretation", VerifyInterpretation -> True]A similar result can be obtained by applying Interpreter["USCongressionalDistrict"] to text snippets:
Interpreter["USCongressionalDistrict"][{"Iowa's 4th congressional district"}]Get properties about occurrences of US Congressional districts:
TextContents["Iowa's 4th congressional district is a congressional district in the U.S. state of Iowa that covers the northwest part of the state.", "USCongressionalDistrict", All]Find mentions of Iowa 4th Congressional District in a text:
TextContents["Iowa's 4th congressional district is a congressional district in the U.S. state of Iowa that covers the northwest part of the state. The district includes Sioux City, Ames, Mason City, Fort Dodge, Boone, and Carroll. The district is currently represented by Republican Steve King.", Entity["USCongressionalDistrict", "Iowa:District4"]]See Also
TextCases TextPosition TextSentences Containing
Entity Types: USCongressionalDistrict
Interpreter Types: USCongressionalDistrict ComputedUSCongressionalDistrict
Text Contents: Location LocationEntity SchoolDistrict DistrictCourt City Neighborhood MetropolitanArea Cemetery GeographicRegion University Museum Stadium LibraryBranch LibrarySystem Island Country AdministrativeDivision ZIPCode