Package: lingdist 2.4.0

lingdist: Fast Linguistic Distance and Alignment Computation

A fast linguistic distance and alignment computation package. It implements generalized edit distance, Pointwise Mutual Information (PMI) distance, and Weighted Jaccard Distance (WJD). For generalized edit distance, the package allows users to define custom cost for every symbol's insertion, deletion, and substitution, and supports treating character combinations as single symbols (e.g., IPA with diacritics). It also provides detailed alignment information. PMI distance automatically learns costs from data. WJD is suitable for hierarchical categorical data with multiple forms. All functions are implemented in 'C++' and distance matrix computation is parallelized leveraging the 'RcppThread' package.

Authors:Chao Kong [aut, cre]

lingdist_2.4.0.tar.gz
lingdist_2.4.0.zip(r-4.7-x86_64)lingdist_2.4.0.zip(r-4.7-arm64)lingdist_2.4.0.zip(r-4.6-x86_64)lingdist_2.4.0.zip(r-4.6-arm64)lingdist_2.4.0.zip(r-4.5-x86_64)
lingdist_2.4.0.tgz(r-4.6-x86_64)lingdist_2.4.0.tgz(r-4.6-arm64)lingdist_2.4.0.tgz(r-4.5-x86_64)lingdist_2.4.0.tgz(r-4.5-arm64)
lingdist_2.4.0.tar.gz(r-4.7-arm64)lingdist_2.4.0.tar.gz(r-4.7-x86_64)lingdist_2.4.0.tar.gz(r-4.6-arm64)lingdist_2.4.0.tar.gz(r-4.6-x86_64)
lingdist_2.4.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
lingdist/json (API)

# Install 'lingdist' in R:
install.packages('lingdist', repos = c('https://fncokg.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/fncokg/lingdist/issues

Uses libs:
  • c++– GNU Standard C++ Library v3

On CRAN:

Conda:

language-distancercppcpp

3.78 score 3 stars 228 downloads 7 exports 2 dependencies

Last updated from:c05ebc9000. Checks:13 ERROR, 2 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64ERROR101
linux-devel-x86_64ERROR118
source / vignettesOK207
linux-release-arm64ERROR98
linux-release-x86_64ERROR118
macos-release-arm64ERROR168
macos-release-x86_64ERROR328
macos-oldrel-arm64ERROR146
macos-oldrel-x86_64ERROR387
windows-devel-arm64ERROR316
windows-devel-x86_64ERROR234
windows-release-arm64ERROR324
windows-release-x86_64ERROR132
windows-oldrel-x86_64ERROR97
wasm-releaseOK98

Exports:check_cost_mat_symbolsgenerate_default_cost_matrixlong2squareformpw_edit_distpw_pmi_distpw_wjdstring_edit_dist

Dependencies:RcppRcppThread