Sentiments API for Python#
- class eot.wowool.sentiments.Sentiments#
- __init__(context: Optional[List[int]] = None)#
- __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 sentiments information.
- Returns
The given document with the result data. See the json format