"USCongressionalDistrict" (Text Content Type)
[Experimental]
Text identified as the name of a US congressional district.
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)Summary of the most common use cases
Find occurrences of US Congressional districts in a text:
In[1]:=1

✖
https://wolfram.com/xid/03tij4dy44xfniwe97ghdcan19hfogs58e-qzf3s2
Out[1]=1

Get the result as a list of "USCongressionalDistrict" entities:
In[2]:=2

✖
https://wolfram.com/xid/03tij4dy44xfniwe97ghdcan19hfogs58e-n3etrp
Out[2]=2

A similar result can be obtained by applying Interpreter["USCongressionalDistrict"] to text snippets:
In[3]:=3

✖
https://wolfram.com/xid/03tij4dy44xfniwe97ghdcan19hfogs58e-c2b62n
Out[3]=3

Get properties about occurrences of US Congressional districts:
In[1]:=1

✖
https://wolfram.com/xid/03tij4dy44xfniwe97ghdcan19hfogs58e-tzqvbo
Out[1]=1

Find mentions of Iowa 4th Congressional District in a text:
In[1]:=1

✖
https://wolfram.com/xid/03tij4dy44xfniwe97ghdcan19hfogs58e-s1idr
Out[1]=1
