"TimeZone" (Text Content Type)
-
See Also
- TextCases
- TextPosition
- TextSentences
- Containing
-
- Entity Types
- TimeZone
-
- Interpreter Types
- TimeZone
- ComputedTimeZone
-
- Text Contents
- Country
- Location
- AdministrativeDivision
- Related Guides
-
-
See Also
- TextCases
- TextPosition
- TextSentences
- Containing
-
- Entity Types
- TimeZone
-
- Interpreter Types
- TimeZone
- ComputedTimeZone
-
- Text Contents
- Country
- Location
- AdministrativeDivision
- Related Guides
-
See Also
"TimeZone" (Text Content Type)
Text identified as the name of a time zone.
Details
- "TimeZone" can be used in TextCases, TextPosition and TextContents.
- "TimeZone" corresponds to any mention of a time zone (real or not real) in the context of the text.
- Homonyms of time zones that are not time zones should not be detected as "TimeZone" (if the context allows disambiguation).
- TextCases[…,"TimeZone""Interpretation"] attempts to return entities of type "TimeZone", as Interpreter["TimeZone"] does.
- Any specific "TimeZone" entity such as
can also be used as a content type in TextCases, TextPosition and TextContents.
Examples
Basic Examples (3)
Find occurrences of time zones in a text:
TextCases["The spacecraft docked with Tiangong-1 on 18 June 2012 at 14:07 Beijing time (06:07 GMT; 07:07 BST).", "TimeZone"]Get the result as a list of "TimeZone" entities:
TextCases["The spacecraft docked with Tiangong-1 on 18 June 2012 at 14:07 Beijing time (06:07 GMT; 07:07 BST).", "TimeZone" -> "Interpretation", VerifyInterpretation -> True]A similar result can be obtained by applying Interpreter["TimeZone"] to text snippets:
Interpreter["TimeZone"][{"GMT", "BST"}]Get properties about occurrences of time zones:
TextContents["The spacecraft docked with Tiangong-1 on 18 June 2012 at 14:07 Beijing time (06:07 GMT; 07:07 BST).", "TimeZone", All]Find mentions of Europe/London in a text:
TextContents["The Shenzhou 9 spacecraft was delivered to Jiuquan Satellite Launch Center for launch preparations on 9 April 2012, while its Long March 2F carrier rocket arrived a month later on 9 May. Shenzhou 9 launched successfully on 16 June 2012, carrying with it China's first female astronaut, Liu Yang. The spacecraft docked with Tiangong-1 on 18 June 2012 at 14:07 Beijing time (06:07 GMT; 07:07 BST).", Entity["TimeZone", "Europe/London"]]See Also
TextCases TextPosition TextSentences Containing
Entity Types: TimeZone
Interpreter Types: TimeZone ComputedTimeZone
Text Contents: Country Location AdministrativeDivision