read_cidian: Read an input-method dictionary as a data frame

View source: R/cidian.R

read_cidianR Documentation

Read an input-method dictionary as a data frame

Description

Parse a supported input-method dictionary with the Rust cidian parser and return its entries and source coding components. The file extension selects the parser automatically. Supported formats are .scel, .qcel, .qpyd, .bdict, and .bcd.

Usage

read_cidian(path, ...)

Arguments

path

A path to a supported input-method dictionary file.

...

Must be empty. This prevents accidental unused arguments.

Value

A data frame with entry and code character columns. Multiple coding components are joined with a single space.

See Also

import_cidian().

Examples

## Not run: 
read_cidian("dictionary.scel")

## End(Not run)

jiebaRS documentation built on Oct. 13, 2026, 5:07 p.m.