Skip to content

lingdist

1.0Package record

Fast Linguistic Distance and Alignment Computation

0packages depend
2.1Kdownloads / year
–test coverage
13/13flavors OK

Overview

About

A fast generalized edit distance and string alignment computation mainly for linguistic aims. As a generalization to the classic edit distance algorithms, the package allows users to define custom cost for every symbol's insertion, deletion, and substitution. The package also allows character combinations in any length to be seen as a single symbol which is very useful for International Phonetic Alphabet (IPA) transcriptions with diacritics. In addition to edit distance result, users can get detailed alignment information such as all possible alignment scenarios between two strings which is useful for testing, illustration or any further usage. Either the distance matrix or its long table form can be obtained and tools to do such conversions are provided. All functions in the package are implemented in 'C++' and the distance matrix computation is parallelized leveraging the 'RcppThread' package.

Changes in 1.0
  • Initial CRAN submission.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 2.7 min · r-devel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-04-22
  • ERROR13 OK, 1 ERROR2026-04-18
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 1.0
READMEYes · 146 wordsVignettesNoNEWSYes · 67% structured · mentions 1.0Citation fileNoWebsitenot declared in DESCRIPTION
Help pages
6 (1 internal)includes a package overview page
Examples that run
100%5 run in a plain check
Exported functions with examples
100%
Documented parameters
not tracked
Return-value docs
not tracked
Help pages citing references
0%

Downloads

2.1K
CRAN downloads in the past year
Rank #22,409 · ~6/day · ~171/mo
Daily download trend is not available in this view yet.
20230 days
59790 days
2.1K1 year
Compare downloads with other packages →
Also on348 r2u6 autocran

Repository

3Stars
0Forks
0Open issues
0Open PRs
0Releases
72Commits
1Commit identities
language-distancerrcpp
72 commits · Last activity 2026-08-19 · Default branch at 2.4.0, ahead of CRAN 1.0 (checked 2026-10-25)
Responsiveness
not measured

Stars over time

2024-10-31 · 32026-07-07 · 3
PracticesBeta

1 development-tooling and community-health practice detected across 1 family in the upstream repository

Checks run against github.com/fncokg/lingdist on 2026-10-25.

CRAN release process (1)
cran-comments.md
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
3 external dependencies (excludes base and recommended)

Installing lingdist adds 2 packages (2 with compiled code, 2.1 MB of source tarballs). Heaviest: Rcpp 1.8 MB, RcppThread 308 KB.

Depends (0)
none
Imports (1)
LinkingTo (2)
Suggests (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (1)
Author, Maintainer since 1.0 (2023)
Releases (1)
  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 1.0Latest
    2023-10-12 · current release
  • R
    R 4.3.0 released · 2023-04-21

Package metadata

First published
2023-10-12
Total releases
1 / 3 yrs
License
GPL (>= 2) OSI
Download size
9.0 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("lingdist")
Kong, C. (2023). lingdist: Fast Linguistic Distance and Alignment Computation (Version 1.0) [Computer software]. https://doi.org/10.32614/CRAN.package.lingdist

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for lingdist version 1.0 [Data set]. HJJB, LLC. Data release v2026-10-26. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-26, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy