CRAN/E | lingdist

lingdist

Fast Linguistic Distance and Alignment Computation

Installation

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.

github.com/fncokg/lingdist
Bug report File report

Key Metrics

Version 1.0
Published 2023-10-12 205 days ago
Needs compilation? yes
License GPL-2
License GPL-3
CRAN checks lingdist results

Downloads

Yesterday 3 -40%
Last 7 days 41 -18%
Last 30 days 159 -6%
Last 90 days 429 -24%
Last 365 days 1.199

Maintainer

Maintainer

Chao Kong

kongchao1998@gmail.com

Authors

Chao Kong

aut / cre

Material

README
NEWS
Reference manual
Package source

macOS

r-release

arm64

r-oldrel

arm64

r-release

x86_64

r-oldrel

x86_64

Windows

r-develnot available

x86_64

r-releasenot available

x86_64

r-oldrelnot available

x86_64

Imports

Rcpp ≥ 1.0.10

LinkingTo

Rcpp
RcppThread