"Canal" (Text Content Type)
-
See Also
- TextCases
- TextPosition
- TextSentences
- Containing
-
- Entity Types
- Canal
-
- Interpreter Types
- Canal
- ComputedCanal
-
- Text Contents
- Location
- LocationEntity
- Dam
- Tunnel
- Bridge
- Cemetery
- Cave
- Castle
- Shipwreck
- Mine
- OilField
- HistoricalSite
- Building
- ReserveLand
- River
- Related Guides
-
-
See Also
- TextCases
- TextPosition
- TextSentences
- Containing
-
- Entity Types
- Canal
-
- Interpreter Types
- Canal
- ComputedCanal
-
- Text Contents
- Location
- LocationEntity
- Dam
- Tunnel
- Bridge
- Cemetery
- Cave
- Castle
- Shipwreck
- Mine
- OilField
- HistoricalSite
- Building
- ReserveLand
- River
- Related Guides
-
See Also
"Canal" (Text Content Type)
Text identified as the name of a canal.
Details
- "Canal" can be used in TextCases, TextPosition and TextContents.
- "Canal" corresponds to any mention of a canal (real or not real) in the context of the text.
- Homonyms of canals that are not canals should not be detected as "Canal" (if the context allows disambiguation).
- TextCases[…,"Canal""Interpretation"] attempts to return entities of type "Canal", as Interpreter["Canal"] does.
- Any specific "Canal" entity such as
can also be used as a content type in TextCases, TextPosition and TextContents.
Examples
Basic Examples (3)
Find occurrences of canals in a text:
TextCases["While Egypt and the Suez Canal were obvious targets, an Italian invasion of French Somaliland or British Somaliland was also feasible.", "Canal"]Get the result as a list of "Canal" entities:
TextCases["While Egypt and the Suez Canal were obvious targets, an Italian invasion of French Somaliland or British Somaliland was also feasible.", "Canal" -> "Interpretation", VerifyInterpretation -> True]A similar result can be obtained by applying Interpreter["Canal"] to text snippets:
Interpreter["Canal"][{"Suez Canal"}]Get properties about occurrences of canals:
TextContents["While Egypt and the Suez Canal were obvious targets, an Italian invasion of French Somaliland or British Somaliland was also feasible.", "Canal", All]Find mentions of Suez Canal in a text:
TextContents["On 10 June 1940, when Mussolini led Italy into World War II against the British and the French, Italian forces in Africa became a potential threat to British supply routes along the Red Sea and the Suez Canal. While Egypt and the Suez Canal were obvious targets, an Italian invasion of French Somaliland or British Somaliland was also feasible. Mussolini initially looked past both of these small, isolated colonies and instead looked forward to propaganda triumphs in the Sudan and British East Africa (Kenya, Tanganyika and Uganda).", Entity["Canal", "SuezCanal::xsbd4"]]See Also
TextCases TextPosition TextSentences Containing
Entity Types: Canal
Interpreter Types: Canal ComputedCanal
Text Contents: Location LocationEntity Dam Tunnel Bridge Cemetery Cave Castle Shipwreck Mine OilField HistoricalSite Building ReserveLand River