corpus_metadata.Rd
Get and set corpus metadata.
titles_(corpus, ...) # S3 method for corpus titles_(corpus, ...) # S3 method for JuliaObject titles_(corpus, ...) languages_(corpus, ...) # S3 method for corpus languages_(corpus, ...) # S3 method for JuliaObject languages_(corpus, ...) authors_(corpus, ...) # S3 method for corpus authors_(corpus, ...) # S3 method for JuliaObject authors_(corpus, ...) timestamps_(corpus, ...) # S3 method for corpus timestamps_(corpus, ...) # S3 method for JuliaObject timestamps_(corpus, ...)
corpus | A corpus, as returned vy |
---|---|
... | 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 doc1 <- string_document("First document.") doc2 <- string_document("Second document.") corpus <- corpus(doc1, doc2) # get and et metadata titles_(corpus) # get titles_(corpus, list("Hello", "World")) # set # }