"Element" (Text Content Type)
-
See Also
- TextCases
- TextPosition
- TextSentences
- Containing
- ElementData
-
- Entity Types
- Element
-
- Interpreter Types
- Element
- ComputedElement
-
- Text Contents
- Chemical
- Mineral
- Particle
- Related Guides
-
-
See Also
- TextCases
- TextPosition
- TextSentences
- Containing
- ElementData
-
- Entity Types
- Element
-
- Interpreter Types
- Element
- ComputedElement
-
- Text Contents
- Chemical
- Mineral
- Particle
- Related Guides
-
See Also
"Element" (Text Content Type)
Text identified as the name of an element.
Details
- "Element" can be used in TextCases, TextPosition and TextContents.
- "Element" corresponds to any mention of an element (real or not real) in the context of the text.
- Homonyms of elements that are not elements should not be detected as "Element" (if the context allows disambiguation).
- TextCases[…,"Element""Interpretation"] attempts to return entities of type "Element", as Interpreter["Element"] does.
- Any specific "Element" entity such as
can also be used as a content type in TextCases, TextPosition and TextContents.
Examples
Basic Examples (3)
Find occurrences of elements in a text:
TextCases["Roaldite is a rare meteorite mineral containing iron, nickel and nitrogen ((Fe,Ni)4N).", "Element"]Get the result as a list of "Element" entities:
TextCases["Roaldite is a rare meteorite mineral containing iron, nickel and nitrogen ((Fe,Ni)4N).", "Element" -> "Interpretation", VerifyInterpretation -> True]A similar result can be obtained by applying Interpreter["Element"] to text snippets:
Interpreter["Element"][{"iron", "nickel", "nitrogen"}]Get properties about occurrences of elements:
TextContents["Roaldite is a rare meteorite mineral containing iron, nickel and nitrogen ((Fe,Ni)4N).", "Element", All]Find mentions of nickel in a text:
TextContents["Roaldite is a rare meteorite mineral containing iron, nickel and nitrogen ((Fe,Ni)4N). It was first described in 1981 for an occurrence in the Youngedin meteorite, Avon, Western Australia. It was named after Roald Norbach Nielsen (born 1928), a Danish expert in electron microprobe. The mineral has also been reported from the Jerslev meteorite, Sjaelland, Denmark, and the Canyon Diablo meteorite of Meteor Crater in Arizona.", Entity["Element", "Nickel"]]See Also
TextCases TextPosition TextSentences Containing ElementData
Entity Types: Element
Interpreter Types: Element ComputedElement