Created
November 29, 2018 15:09
-
-
Save PolMine/9b3251b5c67ad2c2bc650598d1bcd96d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# install current version of cwbtools | |
library(drat) | |
drat::addRepo("polmine") | |
install.packages("cwbtools") | |
# Reencode installed corpus | |
library(polmineR) | |
use("MigParl") | |
library(cwbtools) | |
cwbtools::corpus_recode(corpus = "MIGPARL", | |
registry_dir = system.file(package = "MigParl", "extdata", "cwb", "registry"), | |
data_dir = system.file(package = "MigParl", "extdata", "cwb", "indexed_corpora", "migparl"), | |
to = "latin1") | |
RStudio Session neu starten. | |
# Check new encoding | |
library(polmineR) | |
use("MigParl") | |
polmineR::getEncoding("MIGPARL") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment