Quotes API for Python#
- class eot.wowool.quotes.Quotes#
- __init__(mentions: Optional[List[str]] = None)#
Initialize the Quotes application.
- Parameters
mentions (
list[str]
) – A list of concepts that are mentioned in the quote
- __call__(document: eot.wowool.document.document.Document, diagnostics: eot.wowool.diagnostic.Diagnostics) eot.wowool.document.document.Document #
- Parameters
document (Document) – The document we want to enrich with your quotes.
- Returns
The given document with the quotes. See the json format