class documentation

Class representing a document.

Method __init__ Initialize a Document object.
Method __repr__ Return a string representation of the Document object.
Method __str__ Return a string representation of the Document object.
Instance Variable author Undocumented
Instance Variable date Undocumented
Instance Variable source Undocumented
Instance Variable text Undocumented
Instance Variable title Undocumented
Instance Variable url Undocumented
def __init__(self, title: str, date: str, author: str, url: str, source: str, text: str): (source)

Initialize a Document object.

Args:

    title (str): The title of the document.
    date (str): The date of the document.
    author (str): The author of the document.
    url (str): The URL of the document.
    text (str): The text of the document.
def __repr__(self) -> str: (source)

Return a string representation of the Document object.

def __str__(self) -> str: (source)

Return a string representation of the Document object.

Undocumented

Undocumented

Undocumented

Undocumented

Undocumented

Undocumented