"Unit" (Text Content Type)
"Unit" (Text Content Type)
Text identified as a unit.
Details
- "Unit" can be used in TextCases, TextPosition and TextContents.
- "Unit" corresponds to any mention of a currency amount in the context of the text.
Examples
Basic Examples (2)
Find occurrences of units in a text:
TextCases["They regularly exceed 2 m (ft) and weigh over 100 kg (220 lbs). One kilo is sold for $1,800.", "Unit"]Get properties about occurrences of units:
TextContents["They regularly exceed 2 m (ft) and weigh over 100 kg (220 lbs). One kilo is sold for $1,800.", "Unit", All]See Also
TextCases TextPosition TextSentences TextStructure Containing
Text Contents: Quantity CurrencyAmount Number