Bridges-Python 3.5.1
Bridges(Python API)
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | Properties | List of all members
bridges.data_src_dependent.shakespeare.Shakespeare Class Reference

A Shakespeare Data source object containing sonnets, poems and plays. More...

Public Member Functions

 __init__ (self, str title="", str type="", str text="")
 

Protected Attributes

 _title
 
 _type
 
 _text
 

Properties

 title = property
 Get title.
 
 type = property
 Get type (sonnet, play or poem)
 
 text = property
 Get text of sonnet, play or poem.
 

Detailed Description

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

Constructor & Destructor Documentation

◆ __init__()

bridges.data_src_dependent.shakespeare.Shakespeare.__init__ (   self,
str   title = "",
str   type = "",
str   text = "" 
)
Parameters
titletitle of sonnet, play or poem
typesonnet, play or poem
textfull text of work

Member Data Documentation

◆ _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

Property Documentation

◆ 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

Get title.

◆ 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: