"Ocean" (Text Content Type)
-
See Also
- TextCases
- TextPosition
- TextSentences
- Containing
- OceanData
-
- Entity Types
- Ocean
-
- Interpreter Types
- Ocean
- ComputedOcean
-
- Text Contents
- Location
- LocationEntity
- River
- Reef
- Lake
- Forest
- Beach
- Island
- Desert
- Waterfall
- Mountain
- Volcano
- UnderseaFeature
- EarthImpact
- Ship
- Shipwreck
- Related Guides
-
-
See Also
- TextCases
- TextPosition
- TextSentences
- Containing
- OceanData
-
- Entity Types
- Ocean
-
- Interpreter Types
- Ocean
- ComputedOcean
-
- Text Contents
- Location
- LocationEntity
- River
- Reef
- Lake
- Forest
- Beach
- Island
- Desert
- Waterfall
- Mountain
- Volcano
- UnderseaFeature
- EarthImpact
- Ship
- Shipwreck
- Related Guides
-
See Also
"Ocean" (Text Content Type)
Text identified as the name of an ocean.
Details
- "Ocean" can be used in TextCases, TextPosition and TextContents.
- "Ocean" corresponds to any mention of an ocean (real or not real) in the context of the text.
- Homonyms of oceans that are not oceans should not be detected as "Ocean" (if the context allows disambiguation).
- TextCases[…,"Ocean""Interpretation"] attempts to return entities of type "Ocean", as Interpreter["Ocean"] does.
- Any specific "Ocean" entity such as
can also be used as a content type in TextCases, TextPosition and TextContents.
Examples
Basic Examples (3)
Find occurrences of oceans in a text:
TextCases["She closely resembles the fertility goddesses Ishtar and Demeter, both patron deities of agriculture, with Neptune's trident symbolizing the Pacific Ocean, and to the left and to the right are ships wheels symbolizing the Atlantic Ocean.", "Ocean"]Get the result as a list of "Ocean" entities:
TextCases["She closely resembles the fertility goddesses Ishtar and Demeter, both patron deities of agriculture, with Neptune's trident symbolizing the Pacific Ocean, and to the left and to the right are ships wheels symbolizing the Atlantic Ocean.", "Ocean" -> "Interpretation", VerifyInterpretation -> True]A similar result can be obtained by applying Interpreter["Ocean"] to text snippets:
Interpreter["Ocean"][{"Pacific Ocean", "Atlantic Ocean"}]Get properties about occurrences of oceans:
TextContents["She closely resembles the fertility goddesses Ishtar and Demeter, both patron deities of agriculture, with Neptune's trident symbolizing the Pacific Ocean, and to the left and to the right are ships wheels symbolizing the Atlantic Ocean.", "Ocean", All]Find mentions of Pacific Ocean in a text:
TextContents["Seated in the centre is Lady Manitoba with the rays of the sun behind her. She closely resembles the fertility goddesses Ishtar and Demeter, both patron deities of agriculture, with Neptune's trident symbolizing the Pacific Ocean, and to the left and to the right are ships wheels symbolizing the Atlantic Ocean. Nextof Lady Manitoba are a man and a woman laden with wheat and fruit, products of the soil. Then next is a muscular male figure with a team of powerful horses and a primitive plough tilling the soil.", Entity["Ocean", "PacificOcean"]]See Also
TextCases TextPosition TextSentences Containing OceanData
Entity Types: Ocean
Interpreter Types: Ocean ComputedOcean
Text Contents: Location LocationEntity River Reef Lake Forest Beach Island Desert Waterfall Mountain Volcano UnderseaFeature EarthImpact Ship Shipwreck