Description Usage Arguments Details Examples
Get and set document metadata.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 | title_(document, ...)
## S3 method for class 'document'
title_(document, ...)
## S3 method for class 'JuliaObject'
title_(document, ...)
## S3 method for class 'documents'
title_(document, ...)
language_(document, ...)
## S3 method for class 'document'
language_(document, ...)
## S3 method for class 'documents'
language_(document, ...)
## S3 method for class 'JuliaObject'
language_(document, ...)
author_(document, ...)
## S3 method for class 'document'
author_(document, ...)
## S3 method for class 'documents'
author_(document, ...)
## S3 method for class 'JuliaObject'
author_(document, ...)
timestamp_(document, ...)
## S3 method for class 'document'
timestamp_(document, ...)
## S3 method for class 'documents'
timestamp_(document, ...)
## S3 method for class '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.
1 2 3 4 5 6 7 8 9 10 11 12 | ## 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
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.