Document main attributes
The documents returned has the following attributes:id: The unique identifier of the document, a 32-character hexadecimal string.headline: The title of the document.url: The URL of the original document.(Sunsetting. Instead use the chunk-levelsentimentsentimentdescribed below)source: The source of the document, an instance ofSource, which contains the key and name of the source, and its Rank.timestamp: The timestamp of the document, a datetime object.chunks: The content of the document.language: The language of the document, an instance ofLanguage. Only available in the Python SDK.
text: The text of the chunk.cnum: The index of the chunk in the document, zero-based. You can use it to sort them in order. For the Python SDK,chunkis used instead.entities: A list of entities detected in the chunk, each entity is an instance ofDocumentSentenceEntityand contains the entity key as well as the position in the text where it’s detected. Note that these entity objects can’t be used to create queries for searches. Only available in the Python SDK.sentences: A list of sentences detected in the chunk, each sentence is an instance ofDocumentSentenceand contains only the number of paragraph and sentence. Only available in the Python SDK.relevance: A float between 0 and 1. Relevance indicates the degree to which a particular match aligns with the various terms in your query. It’s important to note that the relevance scores you receive are only meaningful within the context of the same search. Each execution generates unique scores, so comparing relevance across different queries is not meaningful.sentiment: A score between -1.0 and +1.0 that represents the chunk-level sentiment.
Document dictionary
Only for the Python SDK.
Download the entire document
Available soon in the API.
download_annotated_dict()
annotated_doc_0B4623C81D073FAE45DE6D6F23874878.json

