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: 2.4.0 Date: 2026-3-8 Description: 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. License: GPL (>= 2) Imports: Rcpp (>= 1.1.0), RcppThread (>= 2.3.0) LinkingTo: Rcpp, RcppThread URL: https://github.com/fncokg/lingdist BugReports: https://github.com/fncokg/lingdist/issues Encoding: UTF-8 RoxygenNote: 7.3.2 Repository: https://fncokg.r-universe.dev Date/Publication: 2026-08-19 12:59:47 UTC RemoteUrl: https://github.com/fncokg/lingdist RemoteRef: HEAD RemoteSha: c05ebc90001c8597b51fa546dd0c31cd5c7ddfe9 NeedsCompilation: yes Packaged: 2026-10-18 08:43:57 UTC; root Author: Chao Kong [aut, cre] (ORCID: ) Maintainer: Chao Kong