document_metadata.Rd
Get and set document metadata.
title_(document, ...) # S3 method for document title_(document, ...) # S3 method for JuliaObject title_(document, ...) # S3 method for documents title_(document, ...) language_(document, ...) # S3 method for document language_(document, ...) # S3 method for documents language_(document, ...) # S3 method for JuliaObject language_(document, ...) author_(document, ...) # S3 method for document author_(document, ...) # S3 method for documents author_(document, ...) # S3 method for JuliaObject author_(document, ...) timestamp_(document, ...) # S3 method for document timestamp_(document, ...) # S3 method for documents timestamp_(document, ...) # S3 method for JuliaObject timestamp_(document, ...)
document | A document as returned by the |
---|---|
... | A character string to set. |
Note that the value (three dots) for the language
function is taken from the Julia Language
package.
# NOT RUN { init_textanalysis() # build document doc <- string_document("This is a document.") # get and et metadata title_(doc) # get title_(doc, "Hello World") # set language_(doc, "Spanish") # from Language pack # }