"Dinosaur" (Text Content Type)
-
See Also
- TextCases
- TextPosition
- TextSentences
- Containing
-
- Entity Types
- Dinosaur
-
- Interpreter Types
- Dinosaur
- ComputedDinosaur
-
- Text Contents
- Species
- CatBreed
- DogBreed
- Plant
- GeologicalPeriod
- Related Guides
-
-
See Also
- TextCases
- TextPosition
- TextSentences
- Containing
-
- Entity Types
- Dinosaur
-
- Interpreter Types
- Dinosaur
- ComputedDinosaur
-
- Text Contents
- Species
- CatBreed
- DogBreed
- Plant
- GeologicalPeriod
- Related Guides
-
See Also
"Dinosaur" (Text Content Type)
Text identified as the name of a dinosaur.
Details
- "Dinosaur" can be used in TextCases, TextPosition and TextContents.
- "Dinosaur" corresponds to any mention of a dinosaur (real or not real) in the context of the text.
- Homonyms of dinosaurs that are not dinosaurs should not be detected as "Dinosaur" (if the context allows disambiguation).
- TextCases[…,"Dinosaur""Interpretation"] attempts to return entities of type "Dinosaur", as Interpreter["Dinosaur"] does.
- Any specific "Dinosaur" entity such as
can also be used as a content type in TextCases, TextPosition and TextContents.
Examples
Basic Examples (3)
Find occurrences of dinosaurs in a text:
TextCases["Scott Hartman estimates Alamosaurus being slightly shorter at 28-30 m (92-98 ft) and is equal in weight to other massive titanosaurs such as Argentinosaurus and Puertasaurus.", "Dinosaur"]Get the result as a list of "Dinosaur" entities:
TextCases["Scott Hartman estimates Alamosaurus being slightly shorter at 28-30 m (92-98 ft) and is equal in weight to other massive titanosaurs such as Argentinosaurus and Puertasaurus.", "Dinosaur" -> "Interpretation", VerifyInterpretation -> True]A similar result can be obtained by applying Interpreter["Dinosaur"] to text snippets:
Interpreter["Dinosaur"][{"Alamosaurus", "Argentinosaurus", "Puertasaurus"}]Get properties about occurrences of dinosaurs:
TextContents["Scott Hartman estimates Alamosaurus being slightly shorter at 28-30 m (92-98 ft) and is equal in weight to other massive titanosaurs such as Argentinosaurus and Puertasaurus.", "Dinosaur", All]Find mentions of Alamosaurus in a text:
TextContents["The total estimate length of Alamosaurus is estimated at 30 m (98 ft) long. Scott Hartman estimates Alamosaurus being slightly shorter at 28-30 m (92-98 ft) and is equal in weight to other massive titanosaurs such as Argentinosaurus and Puertasaurus. However, he says that at the moment, scientists do not know whether the massive tibia belongs to an Alamosaurus or a completely new species of sauropod.", Entity["Dinosaur", "Genus:Alamosaurus"]]See Also
TextCases TextPosition TextSentences Containing
Entity Types: Dinosaur
Interpreter Types: Dinosaur ComputedDinosaur
Text Contents: Species CatBreed DogBreed Plant GeologicalPeriod