Package: cidian 0.1.0
cidian: Read and Parse Chinese Input-Method Dictionaries
Read Chinese input-method dictionary files into a common 'R' data model. The 'Rust' backend supports Sogou, QQ Pinyin, and Baidu dictionary formats and preserves source metadata, code components, and weights. This is useful for building a custom Chinese word segmentation dictionary.
Authors:
cidian_0.1.0.tar.gz
cidian_0.1.0.zip(r-4.7-x86_64)cidian_0.1.0.zip(r-4.7-arm64)cidian_0.1.0.zip(r-4.6-x86_64)cidian_0.1.0.zip(r-4.6-arm64)cidian_0.1.0.zip(r-4.5-x86_64)
cidian_0.1.0.tgz(r-4.6-x86_64)cidian_0.1.0.tgz(r-4.6-arm64)cidian_0.1.0.tgz(r-4.5-x86_64)cidian_0.1.0.tgz(r-4.5-arm64)
cidian_0.1.0.tar.gz(r-4.7-arm64)cidian_0.1.0.tar.gz(r-4.7-x86_64)cidian_0.1.0.tar.gz(r-4.6-arm64)cidian_0.1.0.tar.gz(r-4.6-x86_64)
cidian_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
cidian/json (API)
| # Install 'cidian' in R: |
| install.packages('cidian', repos = c('https://r-multiverse.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/yousa-mirage/r-cidian/issues
Last updated from:79d37afaca (on v0.1.0). Checks:15 OK. Indexed: no.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 128 | ||
| linux-devel-x86_64 | OK | 141 | ||
| source / vignettes | OK | 189 | ||
| linux-release-arm64 | OK | 125 | ||
| linux-release-x86_64 | OK | 160 | ||
| macos-release-arm64 | OK | 95 | ||
| macos-release-x86_64 | OK | 222 | ||
| macos-oldrel-arm64 | OK | 120 | ||
| macos-oldrel-x86_64 | OK | 159 | ||
| windows-devel-arm64 | OK | 227 | ||
| windows-devel-x86_64 | OK | 189 | ||
| windows-release-arm64 | OK | 258 | ||
| windows-release-x86_64 | OK | 120 | ||
| windows-oldrel-x86_64 | OK | 153 | ||
| wasm-release | OK | 152 |
Exports:cidian_entriescidian_formatscidian_metadataread_cidianwrite_words
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Convert a dictionary to a data frame | as.data.frame.cidian_dictionary |
| Extract dictionary entries | cidian_entries |
| List supported dictionary formats | cidian_formats |
| Extract dictionary metadata | cidian_metadata |
| Print a dictionary summary | print.cidian_dictionary |
| Read a Chinese input-method dictionary | read_cidian |
| Summarize a dictionary | summary.cidian_dictionary |
| Write dictionary entries to a text file | write_words |
