Description Usage Arguments Value References See Also Examples
View source: R/read.corp.celex.R
Read data from Celex[1] formatted corpora.
1 2 3 4 5 6 7 | read.corp.celex(
celex.path,
running.words,
fileEncoding = "ISO_8859-1",
n = -1,
caseSens = TRUE
)
|
celex.path |
A character string, path to a frequency file in Celex format to read. |
running.words |
An integer value, number of running words in the Celex data corpus to be read. |
fileEncoding |
A character string naming the encoding of the Celex files. |
n |
An integer value defining how many lines of data should be read if |
caseSens |
Logical,
if |
An object of class kRp.corp.freq
.
1 2 3 4 5 6 7 8 9 10 11 | ## Not run:
my.Celex.data <- read.corp.celex(
file.path("~","mydata","Celex","GERMAN","GFW","GFW.CD"),
running.words=5952000
)
freq.analysis(
tokenized.obj,
corp.freq=my.Celex.data
)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.