Package: lingdist
Type: Package
Title: Fast Linguistic Distance and Alignment Computation
Authors@R: 
    c(person(given = "Chao",
             family = "Kong",
             role = c("aut", "cre"),
             email = "kongchao1998@gmail.com",
             comment = c(ORCID = "0000-0002-6404-6142")))
Version: 1.0
Date: 2023-10-12
Description: 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.
License: GPL (>= 2)
Imports: Rcpp (>= 1.0.10)
LinkingTo: Rcpp,RcppThread
URL: https://github.com/fncokg/lingdist
BugReports: https://github.com/fncokg/lingdist/issues
Encoding: UTF-8
RoxygenNote: 7.2.3
NeedsCompilation: yes
Packaged: 2023-10-12 06:44:11 UTC; kongc
Author: Chao Kong [aut, cre] (<https://orcid.org/0000-0002-6404-6142>)
Maintainer: Chao Kong <kongchao1998@gmail.com>
Repository: CRAN
Date/Publication: 2023-10-12 17:20:03 UTC
Built: R 4.6.0; aarch64-apple-darwin23; 2026-04-25 20:02:53 UTC; unix
Archs: lingdist.so.dSYM
