WordListDocument | R Documentation |
Create text documents from word lists.
WordListDocument(con, encoding = "unknown", meta = list())
con |
a connection object or a character string.
See |
encoding |
encoding to be assumed for input strings.
See |
meta |
a named or empty list of document metadata tag-value pairs. |
WordListDocument()
uses readLines()
to read
collections of words from connections for which each line provides one
word, with blank lines ignored, and returns a word list document
object which inherits from classes "WordListDocument"
and
"TextDocument"
.
The methods for generics words()
and
as.character()
and class "WordListDocument"
can be used to extract the words.
A word list document object inheriting from "WordListDocument"
and "TextDocument"
.
TextDocument
for basic information on the text document
infrastructure employed by package NLP.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.