"MusicalInstrument" (Text Content Type)
-
See Also
- TextCases
- TextPosition
- TextSentences
- Containing
-
- Entity Types
- MusicalInstrument
-
- Interpreter Types
- MusicalInstrument
- ComputedMusicalInstrument
-
- Text Contents
- SportObject
- BoardGame
- MusicAlbum
- MusicWork
- MusicAct
- Museum
- MeasurementDevice
- BroadcastStation
- Related Guides
-
-
See Also
- TextCases
- TextPosition
- TextSentences
- Containing
-
- Entity Types
- MusicalInstrument
-
- Interpreter Types
- MusicalInstrument
- ComputedMusicalInstrument
-
- Text Contents
- SportObject
- BoardGame
- MusicAlbum
- MusicWork
- MusicAct
- Museum
- MeasurementDevice
- BroadcastStation
- Related Guides
-
See Also
"MusicalInstrument" (Text Content Type)
Text identified as the name of a musical instrument.
Details
- "MusicalInstrument" can be used in TextCases, TextPosition and TextContents.
- "MusicalInstrument" corresponds to any mention of a musical instrument (real or not real) in the context of the text.
- Homonyms of musical instruments that are not musical instruments should not be detected as "MusicalInstrument" (if the context allows disambiguation).
- TextCases[…,"MusicalInstrument""Interpretation"] attempts to return entities of type "MusicalInstrument", as Interpreter["MusicalInstrument"] does.
- Any specific "MusicalInstrument" entity such as
can also be used as a content type in TextCases, TextPosition and TextContents.
Examples
Basic Examples (3)
Find occurrences of musical instruments in a text:
TextCases["The lyra is held vertically on the player's lap, in the same way as a small viol, rather than being placed under the chin of the player like a violin.", "MusicalInstrument"]Get the result as a list of "MusicalInstrument" entities:
TextCases["The lyra is held vertically on the player's lap, in the same way as a small viol, rather than being placed under the chin of the player like a violin.", "MusicalInstrument" -> "Interpretation", VerifyInterpretation -> True]A similar result can be obtained by applying Interpreter["MusicalInstrument"] to text snippets:
Interpreter["MusicalInstrument"][{"lyra", "viol", "violin"}]Get properties about occurrences of musical instruments:
TextContents["The lyra is held vertically on the player's lap, in the same way as a small viol, rather than being placed under the chin of the player like a violin.", "MusicalInstrument", All]Find mentions of lirone in a text:
TextContents["The lyra is held vertically on the player's lap, in the same way as a small viol, rather than being placed under the chin of the player like a violin. For normal right-handed playing, the player's right hand holds the bow. The strings are stopped by pressing the fingernails of the player's left hand against the side of the string, rather than by pressing the string against the fingerboard. This gives it a different tone from the violin.", Entity["MusicalInstrument", "Lirone"]]See Also
TextCases TextPosition TextSentences Containing
Entity Types: MusicalInstrument
Interpreter Types: MusicalInstrument ComputedMusicalInstrument
Text Contents: SportObject BoardGame MusicAlbum MusicWork MusicAct Museum MeasurementDevice BroadcastStation