"Book" (Text Content Type)
-
See Also
- TextCases
- TextPosition
- TextSentences
- Containing
-
- Entity Types
- Book
-
- Interpreter Types
- Book
- ComputedBook
-
- Text Contents
- Artwork
- Periodical
- FictionalCharacter
- Movie
- Mythology
- MusicAlbum
- MusicWork
- MusicAct
- LibraryBranch
- LibrarySystem
- Museum
- BroadcastStation
- Language
- Religion
- Related Guides
-
-
See Also
- TextCases
- TextPosition
- TextSentences
- Containing
-
- Entity Types
- Book
-
- Interpreter Types
- Book
- ComputedBook
-
- Text Contents
- Artwork
- Periodical
- FictionalCharacter
- Movie
- Mythology
- MusicAlbum
- MusicWork
- MusicAct
- LibraryBranch
- LibrarySystem
- Museum
- BroadcastStation
- Language
- Religion
- Related Guides
-
See Also
"Book" (Text Content Type)
Text identified as the name of a book expressed in natural language.
Details
- "Book" can be used in TextCases, TextPosition and TextContents.
- "Book" corresponds to any mention of a book (real or not real) in the context of the text.
- Homonyms of books that are not books should not be detected as "Book" (if the context allows disambiguation).
- TextCases[…,"Book""Interpretation"] attempts to return entities of type "Book", as Interpreter["Book"] does.
- Any specific "Book" entity such as
can also be used as a content type in TextCases, TextPosition and TextContents.
Examples
Basic Examples (3)
Find occurrences of books in a text:
TextCases["Crane's work has proved inspirational for future writers; not only have scholars drawn similarities between Hemingway's A Farewell to Arms and The Red Badge of Courage, but Crane's fiction is thought to have been an important inspiration for Hemingway and his fellow Modernists.", "Book"]Get the result as a list of "Book" entities:
TextCases["Crane's work has proved inspirational for future writers; not only have scholars drawn similarities between Hemingway's A Farewell to Arms and The Red Badge of Courage, but Crane's fiction is thought to have been an important inspiration for Hemingway and his fellow Modernists.", "Book" -> "Interpretation", VerifyInterpretation -> True]A similar result can be obtained by applying Interpreter["Book"] to text snippets:
Interpreter["Book"][{"A Farewell to Arms", "The Red Badge of Courage"}]Get properties about occurrences of books:
TextContents["Crane's work has proved inspirational for future writers; not only have scholars drawn similarities between Hemingway's A Farewell to Arms and The Red Badge of Courage, but Crane's fiction is thought to have been an important inspiration for Hemingway and his fellow Modernists.", "Book", All]Find mentions of A Farewell to Arms in a text:
TextContents["Crane's work has proved inspirational for future writers; not only have scholars drawn similarities between Hemingway's A Farewell to Arms and The Red Badge of Courage, but Crane's fiction is thought to have been an important inspiration for Hemingway and his fellow Modernists. In 1936, Hemingway wrote in The Green Hills of Africa that \"The good writers are Henry James, Stephen Crane, and Mark Twain. That's not the order they're good in.", Entity["Book", "AFarewellToArms"]]See Also
TextCases TextPosition TextSentences Containing
Entity Types: Book
Interpreter Types: Book ComputedBook
Text Contents: Artwork Periodical FictionalCharacter Movie Mythology MusicAlbum MusicWork MusicAct LibraryBranch LibrarySystem Museum BroadcastStation Language Religion