Description Usage Arguments Value Examples
Import a corpus from a file.
1 | import_corpus(paths, format, language, textcolumn = 1, encoding = NULL)
|
paths |
Path to one of more files, or to a directory (if |
format |
File format: can be |
language |
The language name or code (preferably as IETF language tags,
see |
textcolumn |
When |
encoding |
The character encoding of the file, or |
A Corpus
object.
1 2 | file <- system.file("texts", "reut21578-factiva.xml", package="tm.plugin.factiva")
import_corpus(file, "factiva", language="en")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.