Learn R Programming

RcppMeCab (version 0.0.1.7)

dictionary_info: Inspect loaded MeCab dictionaries

Description

Returns metadata reported by MeCab for the active system and user dictionaries. This is useful for diagnosing which dictionary a package or R session is actually using.

Usage

dictionary_info(sys_dic = "", user_dic = "")

Value

A data frame with one row per loaded dictionary and columns filename, charset, type, size, left_size, right_size, and version.

Arguments

sys_dic

Character scalar. System dictionary directory. When empty, the mecabSysDic option and then MeCab's default are used.

user_dic

Character scalar. Optional compiled user dictionary.

Examples

Run this code
if (FALSE) {
dictionary_info()
}

Run the code above in your browser using DataLab