# NOT RUN {
# old format .zip archive
my.LCC.data <- read.corp.LCC(
file.path("~","mydata","corpora","de05_3M.zip")
)
# new format tar archive
my.LCC.data <- read.corp.LCC(
file.path("~","mydata","corpora","rus_web_2002_300K-text.tar")
)
# in case the tar archive was already unpacked
my.LCC.data <- read.corp.LCC(
file.path("~","mydata","corpora","rus_web_2002_300K-text"),
prefix="rus_web_2002_300K-"
)
freq.analysis(
tokenized.obj,
corp.freq=my.LCC.data
)
# }
Run the code above in your browser using DataLab