ontocast.onto.chunk¶
Chunk
¶
Bases: BaseModel
A chunk of text with associated metadata and RDF graph.
Attributes:
| Name | Type | Description |
|---|---|---|
text |
str
|
Text content of the chunk. |
hid |
str
|
An almost unique (hash) id for the chunk. |
doc_iri |
str
|
IRI of parent document. |
graph |
RDFGraph
|
RDF triples representing the facts from the current document. |
processed |
bool
|
Whether chunk has been processed. |