| TextUnit | R Documentation |
A chunk of text from a document
idUnique identifier
textText content
document_idSource document
chunk_indexIndex in document
start_charStart position
end_charEnd position
metadataAdditional metadata
new()Create a new TextUnit
TextUnit$new( id, text, document_id = NULL, chunk_index = 0, start_char = 0, end_char = 0, metadata = NULL )
idUnique ID
textContent
document_idSource doc
chunk_indexIndex
start_charStart
end_charEnd
metadataMetadata
clone()The objects of this class are cloneable with this method.
TextUnit$clone(deep = FALSE)
deepWhether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.