"Island" (Text Content Type)
-
See Also
- TextCases
- TextPosition
- TextSentences
- Containing
- IslandData
-
- Entity Types
- Island
-
- Interpreter Types
- Island
- ComputedIsland
-
- Text Contents
- Location
- LocationEntity
- Beach
- Ocean
- Reef
- Lake
- Desert
- Mountain
- River
- Forest
- Waterfall
- Volcano
- UnderseaFeature
- EarthImpact
- Country
- Bridge
- Related Guides
-
-
See Also
- TextCases
- TextPosition
- TextSentences
- Containing
- IslandData
-
- Entity Types
- Island
-
- Interpreter Types
- Island
- ComputedIsland
-
- Text Contents
- Location
- LocationEntity
- Beach
- Ocean
- Reef
- Lake
- Desert
- Mountain
- River
- Forest
- Waterfall
- Volcano
- UnderseaFeature
- EarthImpact
- Country
- Bridge
- Related Guides
-
See Also
"Island" (Text Content Type)
Text identified as the name of an island.
Details
- "Island" can be used in TextCases, TextPosition and TextContents.
- "Island" corresponds to any mention of an island (real or not real) in the context of the text.
- Homonyms of islands that are not islands should not be detected as "Island" (if the context allows disambiguation).
- TextCases[…,"Island""Interpretation"] attempts to return entities of type "Island", as Interpreter["Island"] does.
- Any specific "Island" entity such as
can also be used as a content type in TextCases, TextPosition and TextContents.
Examples
Basic Examples (3)
Find occurrences of islands in a text:
TextCases["The Japanese occupation of Penghu, with its fine harbor, gave the Imperial Japanese Navy an advanced base from which their short-range coal-burning ships could control the Taiwan Straits and thus prevent more Chinese troops from being sent to Taiwan.", "Island"]Get the result as a list of "Island" entities:
TextCases["The Japanese occupation of Penghu, with its fine harbor, gave the Imperial Japanese Navy an advanced base from which their short-range coal-burning ships could control the Taiwan Straits and thus prevent more Chinese troops from being sent to Taiwan.", "Island" -> "Interpretation", VerifyInterpretation -> True]A similar result can be obtained by applying Interpreter["Island"] to text snippets:
Interpreter["Island"][{"Penghu", "Taiwan", "Taiwan"}]Get properties about occurrences of islands:
TextContents["The Japanese occupation of Penghu, with its fine harbor, gave the Imperial Japanese Navy an advanced base from which their short-range coal-burning ships could control the Taiwan Straits and thus prevent more Chinese troops from being sent to Taiwan.", "Island", All]Find mentions of Penghu Islands in a text:
TextContents["Towards the end of the First Sino-Japanese War, having defeated the Qing in northern China, Japan sought to ensure that it obtained Penghu and Taiwan in the final settlement. In March 1895, the Japanese defeated the Chinese garrison on the islands and occupied Makung. The Japanese occupation of Penghu, with its fine harbor, gave the Imperial Japanese Navy an advanced base from which their short-range coal-burning ships could control the Taiwan Straits and thus prevent more Chinese troops from being sent to Taiwan.", Entity["Island", "Penghu"]]See Also
TextCases TextPosition TextSentences Containing IslandData
Entity Types: Island
Interpreter Types: Island ComputedIsland
Text Contents: Location LocationEntity Beach Ocean Reef Lake Desert Mountain River Forest Waterfall Volcano UnderseaFeature EarthImpact Country Bridge