"ZIPCode" (Text Content Type)
-
See Also
- TextCases
- TextPosition
- TextSentences
- Containing
- ZIPCodeData
-
- Entity Types
- ZIPCode
-
- Interpreter Types
- ZIPCode
- ComputedZIPCode
-
- Text Contents
- IPAddress
- URL
- EmailAddress
- PhoneNumber
- Location
- City
- USCongressionalDistrict
- DistrictCourt
- Neighborhood
- MetropolitanArea
- AdministrativeDivision
- Related Guides
-
-
See Also
- TextCases
- TextPosition
- TextSentences
- Containing
- ZIPCodeData
-
- Entity Types
- ZIPCode
-
- Interpreter Types
- ZIPCode
- ComputedZIPCode
-
- Text Contents
- IPAddress
- URL
- EmailAddress
- PhoneNumber
- Location
- City
- USCongressionalDistrict
- DistrictCourt
- Neighborhood
- MetropolitanArea
- AdministrativeDivision
- Related Guides
-
See Also
"ZIPCode" (Text Content Type)
Text identified as the name of a ZIP Code.
Details
- "ZIPCode" can be used in TextCases, TextPosition and TextContents.
- "ZIPCode" corresponds to any mention of a ZIP Code (real or not real) in the context of the text.
- TextCases[…,"ZIPCode""Interpretation"] attempts to return entities of type "ZIPCode", as Interpreter["ZIPCode"] does.
- Any specific "ZIPCode" entity such as
can also be used as a content type in TextCases, TextPosition and TextContents.
Examples
Basic Examples (3)
Find occurrences of ZIP Codes in a text:
TextCases["Most Woodbury residents have either a Central Valley, NY 10917 address or an Highland Mills, NY 10930 address (Woodbury, NY 11797 is for Woodbury, Nassau County, Long Island, NY).", "ZIPCode"]Get the result as a list of "ZIPCode" entities:
TextCases["Most Woodbury residents have either a Central Valley, NY 10917 address or an Highland Mills, NY 10930 address (Woodbury, NY 11797 is for Woodbury, Nassau County, Long Island, NY).", "ZIPCode" -> "Interpretation", VerifyInterpretation -> True]A similar result can be obtained by applying Interpreter["ZIPCode"] to text snippets:
Interpreter["ZIPCode"][{"10917", "10930", "11797"}]Get properties about occurrences of ZIP Codes:
TextContents["Most Woodbury residents have either a Central Valley, NY 10917 address or an Highland Mills, NY 10930 address (Woodbury, NY 11797 is for Woodbury, Nassau County, Long Island, NY).", "ZIPCode", All]Find mentions of the 10917 ZIP Code in a text:
TextContents["Most Woodbury residents have either a Central Valley, NY 10917 address or an Highland Mills, NY 10930 address (Woodbury, NY 11797 is for Woodbury, Nassau County, Long Island, NY).", Entity["ZIPCode", "10917"]]See Also
TextCases TextPosition TextSentences Containing ZIPCodeData
Entity Types: ZIPCode
Interpreter Types: ZIPCode ComputedZIPCode
Text Contents: IPAddress URL EmailAddress PhoneNumber Location City USCongressionalDistrict DistrictCourt Neighborhood MetropolitanArea AdministrativeDivision