"Planet" (Text Content Type)
-
See Also
- TextCases
- TextPosition
- TextSentences
- Containing
- PlanetData
-
- Entity Types
- Planet
-
- Interpreter Types
- Planet
- ComputedPlanet
-
- Text Contents
- MinorPlanet
- Exoplanet
- PlanetaryMoon
- Comet
- MeteorShower
- SolarSystemFeature
- AstronomicalObservatory
- Star
- StarCluster
- Nebula
- Galaxy
- Supernova
- Pulsar
- AstronomicalRadioSource
- Constellation
- Related Guides
-
-
See Also
- TextCases
- TextPosition
- TextSentences
- Containing
- PlanetData
-
- Entity Types
- Planet
-
- Interpreter Types
- Planet
- ComputedPlanet
-
- Text Contents
- MinorPlanet
- Exoplanet
- PlanetaryMoon
- Comet
- MeteorShower
- SolarSystemFeature
- AstronomicalObservatory
- Star
- StarCluster
- Nebula
- Galaxy
- Supernova
- Pulsar
- AstronomicalRadioSource
- Constellation
- Related Guides
-
See Also
"Planet" (Text Content Type)
Text identified as the name of a planet.
Details
- "Planet" can be used in TextCases, TextPosition and TextContents.
- "Planet" corresponds to any mention of a planet (real or not real) in the context of the text.
- Homonyms of planets that are not planets should not be detected as "Planet" (if the context allows disambiguation).
- TextCases[…,"Planet""Interpretation"] attempts to return entities of type "Planet", as Interpreter["Planet"] does.
- Any specific "Planet" entity such as
can also be used as a content type in TextCases, TextPosition and TextContents.
Examples
Basic Examples (3)
Find occurrences of planets in a text:
TextCases["Several decades earlier, refugees from Earth fled to join a pre-existing human colony on Mars to escape the domination of One True, a massively parallel/cellular automata program that runs on the interconnected brains of most of the human beings on Earth; the program in the individual human brain is called Resuna, probably a contraction from the Latin for One Thing.", "Planet"]Get the result as a list of "Planet" entities:
TextCases["Several decades earlier, refugees from Earth fled to join a pre-existing human colony on Mars to escape the domination of One True, a massively parallel/cellular automata program that runs on the interconnected brains of most of the human beings on Earth; the program in the individual human brain is called Resuna, probably a contraction from the Latin for One Thing.", "Planet" -> "Interpretation", VerifyInterpretation -> True]A similar result can be obtained by applying Interpreter["Planet"] to text snippets:
Interpreter["Planet"][{"Earth", "Mars", "Earth"}]Get properties about occurrences of planets:
TextContents["Several decades earlier, refugees from Earth fled to join a pre-existing human colony on Mars to escape the domination of One True, a massively parallel/cellular automata program that runs on the interconnected brains of most of the human beings on Earth; the program in the individual human brain is called Resuna, probably a contraction from the Latin for One Thing.", "Planet", All]Find mentions of Earth in a text:
TextContents["Several decades earlier, refugees from Earth fled to join a pre-existing human colony on Mars to escape the domination of One True, a massively parallel/cellular automata program that runs on the interconnected brains of most of the human beings on Earth; the program in the individual human brain is called Resuna, probably a contraction from the Latin for One Thing. If a human mind has a copy of Resuna, it may remain dormant until a human speaks the trigger phrase let overwrite, let override.", Entity["Planet", "Earth"]]See Also
TextCases TextPosition TextSentences Containing PlanetData
Entity Types: Planet
Interpreter Types: Planet ComputedPlanet
Text Contents: MinorPlanet Exoplanet PlanetaryMoon Comet MeteorShower SolarSystemFeature AstronomicalObservatory Star StarCluster Nebula Galaxy Supernova Pulsar AstronomicalRadioSource Constellation