Learn R Programming

quanteda (version 1.4.3)

read_dict_wordstat: Import a Wordstat dictionary

Description

Import a Wordstat dictionary

Usage

read_dict_wordstat(path, encoding = "auto")

Arguments

path

path to file to be imported

encoding

the encoding of the file to be imported

Examples

Run this code
# NOT RUN {
# dict <- read_dict_wordstat("/home/kohei/Documents/Dictionary/LaverGarry.txt", "utf-8")
# dict <- read_dict_wordstat("/home/kohei/Documents/Dictionary/Wordstat/ROGET.cat", "utf-8")
# dict <- read_dict_wordstat("/home/kohei/Documents/Dictionary/Wordstat/WordStat Sentiments.cat", 
#                            encoding = "iso-8859-1")
# }

Run the code above in your browser using DataLab