A Shakespeare Data source object containing sonnets, poems and plays.
More...
|
| | title = property |
| | Get title.
|
| |
| | type = property |
| | Get type (sonnet, play or poem)
|
| |
| | text = property |
| | Get text of sonnet, play or poem.
|
| |
A Shakespeare Data source object containing sonnets, poems and plays.
This is a convenience class provided for users who wish to use this data source as part of their application. It provides an API that makes it easy to access the attributes of this data set.
Refer to tutorial examples to using this data source in data structure assignments.
This object is generally not created by the user, to see how its created check out bridges::data_src_dependent::data_source::get_shakespeare_data()
For an example, check out https://bridgesuncc.github.io/tutorials/Data_Shakespeare.html
- Author
- Matthew Mcauaigue, Kalpathi Subramanian
- Date
- 2018, 12/28/20
◆ __init__()
| bridges.data_src_dependent.shakespeare.Shakespeare.__init__ |
( |
|
self, |
|
|
str |
title = "", |
|
|
str |
type = "", |
|
|
str |
text = "" |
|
) |
| |
- Parameters
-
| title | title of sonnet, play or poem |
| type | sonnet, play or poem |
| text | full text of work |
◆ _text
| bridges.data_src_dependent.shakespeare.Shakespeare._text |
|
protected |
◆ _title
| bridges.data_src_dependent.shakespeare.Shakespeare._title |
|
protected |
◆ _type
| bridges.data_src_dependent.shakespeare.Shakespeare._type |
|
protected |
◆ text
| bridges.data_src_dependent.shakespeare.Shakespeare.text = property |
|
static |
Get text of sonnet, play or poem.
◆ title
| bridges.data_src_dependent.shakespeare.Shakespeare.title = property |
|
static |
◆ type
| bridges.data_src_dependent.shakespeare.Shakespeare.type = property |
|
static |
Get type (sonnet, play or poem)
The documentation for this class was generated from the following file:
- /home/erik/work/bridges/bridges-python/bridges/data_src_dependent/shakespeare.py