Bridges-Python  3.2.0
Bridges(PythonAPI)
Public Member Functions | List of all members
bridges.data_src_dependent.shakespeare.Shakespeare Class Reference

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.

Refer to tutorial examples to using this data source in data structure assignments.

Author
Matthew Mcauaigue, Kalpathi Subramanian
Date
2018, 12/28/20

Public Member Functions

def __init__
 
def title (self)
 Get title. More...
 
def title (self, t)
 set title More...
 
def type (self)
 Get type (sonnet, play or poem) More...
 
def type (self, t)
 set type of work (sonnet, play or poem) More...
 
def text (self)
 Get text of sonnet, play or poem. More...
 
def text (self, t)
 set full text of work More...
 

Constructor & Destructor Documentation

◆ __init__()

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

Member Function Documentation

◆ text() [1/2]

def bridges.data_src_dependent.shakespeare.Shakespeare.text (   self)

Get text of sonnet, play or poem.

◆ text() [2/2]

def bridges.data_src_dependent.shakespeare.Shakespeare.text (   self,
  t 
)

set full text of work

Parameters
tfull text

◆ title() [1/2]

def bridges.data_src_dependent.shakespeare.Shakespeare.title (   self)

Get title.

◆ title() [2/2]

def bridges.data_src_dependent.shakespeare.Shakespeare.title (   self,
  t 
)

set title

Parameters
ttitle of work

◆ type() [1/2]

def bridges.data_src_dependent.shakespeare.Shakespeare.type (   self)

Get type (sonnet, play or poem)

◆ type() [2/2]

def bridges.data_src_dependent.shakespeare.Shakespeare.type (   self,
  t 
)

set type of work (sonnet, play or poem)

Parameters
ttype of work

The documentation for this class was generated from the following file: