"MusicWork" (Text Content Type)
-
See Also
- TextCases
- TextPosition
- TextSentences
- Containing
-
- Entity Types
- MusicWork
-
- Interpreter Types
- MusicWork
- ComputedMusicWork
-
- Text Contents
- MusicAct
- MusicAlbum
- Movie
- BroadcastStation
- MusicalInstrument
- Artwork
- Related Guides
-
-
See Also
- TextCases
- TextPosition
- TextSentences
- Containing
-
- Entity Types
- MusicWork
-
- Interpreter Types
- MusicWork
- ComputedMusicWork
-
- Text Contents
- MusicAct
- MusicAlbum
- Movie
- BroadcastStation
- MusicalInstrument
- Artwork
- Related Guides
-
See Also
"MusicWork" (Text Content Type)
Text identified as the name of a music work expressed in natural language.
Details
- "MusicWork" can be used in TextCases, TextPosition and TextContents.
- "MusicWork" corresponds to any mention of a music work (real or not real) in the context of the text.
- Homonyms of music works that are not music works should not be detected as "MusicWork" (if the context allows disambiguation).
- TextCases[…,"MusicWork""Interpretation"] attempts to return entities of type "MusicWork", as Interpreter["MusicWork"] does.
- Any specific "MusicWork" entity such as
can also be used as a content type in TextCases, TextPosition and TextContents.
Examples
Basic Examples (3)
Find occurrences of music works in a text:
TextCases["These two songs were kept unreleased until the mid 1990s, when \"Just Like That\" was edited and released as a promo single for the \"Thank You For The Music\" box set and \"I Am The City\" was released as a part of the \"More Gold: More Hits\" album.", "MusicWork"]Get the result as a list of "MusicWork" entities:
TextCases["These two songs were kept unreleased until the mid 1990s, when \"Just Like That\" was edited and released as a promo single for the \"Thank You For The Music\" box set and \"I Am The City\" was released as a part of the \"More Gold: More Hits\" album.", "MusicWork" -> "Interpretation", VerifyInterpretation -> True]A similar result can be obtained by applying Interpreter["MusicWork"] to text snippets:
Interpreter["MusicWork"][{"Just Like That", "Thank You For The Music", "I Am The City"}]Get properties about occurrences of music works:
TextContents["These two songs were kept unreleased until the mid 1990s, when \"Just Like That\" was edited and released as a promo single for the \"Thank You For The Music\" box set and \"I Am The City\" was released as a part of the \"More Gold: More Hits\" album.", "MusicWork", All]Find mentions of "Thank You for the Music" in a text:
TextContents["The song's recording sessions started on 3 May 1982. This single was recorded along with two other ABBA songs - \"I Am The City\" and \"Just Like That\". These two songs were kept unreleased until the mid 1990s, when \"Just Like That\" was edited and released as a promo single for the \"Thank You For The Music\" box set and \"I Am The City\" was released as a part of the \"More Gold: More Hits\" album.", Entity["MusicWork", "ThankYouFor::dv9r8"]]See Also
TextCases TextPosition TextSentences Containing
Entity Types: MusicWork
Interpreter Types: MusicWork ComputedMusicWork
Text Contents: MusicAct MusicAlbum Movie BroadcastStation MusicalInstrument Artwork