Other packages > Find by keyword >

lingdist  

Fast Linguistic Distance and Alignment Computation
View on CRAN: Click here


Download and install lingdist package within the R console
Install from CRAN:
install.packages("lingdist")

Install from Github:
library("remotes")
install_github("cran/lingdist")

Install by package version:
library("remotes")
install_version("lingdist", "1.0")



Attach the package and use:
library("lingdist")
Maintained by
Chao Kong
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2023-10-12
Latest Update: 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.
How to cite:
Chao Kong (2023). lingdist: Fast Linguistic Distance and Alignment Computation. R package version 1.0, https://cran.r-project.org/web/packages/lingdist. Accessed 05 Jun. 2026.
Previous versions and publish date:
No previous versions
Other packages that cited lingdist R package
View lingdist citation profile
Other R packages that lingdist depends, imports, suggests or enhances
Complete documentation for lingdist
Functions, R codes and Examples using the lingdist R package
Some associated functions: check_cost_defined . edit_dist_df . edit_dist_string . generate_default_cost_matrix . lingdist-package . long2squareform . 
Some associated R codes: RcppExports.R . lingdist-package.R .  Full lingdist package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

ibb  
R Wrapper for Istanbul Municipality Open Data Portal
Call wrappers for Istanbul Metropolitan Municipality's Open Data Portal (Turkish: Istanbul B ...
Download / Learn more Package Citations See dependency  
crossurr  
Cross-Fitting for Doubly Robust Evaluation of High-Dimensional Surrogate Markers
Doubly robust methods for evaluating surrogate markers as outlined in: Agniel D, Hejblum BP, Thiebau ...
Download / Learn more Package Citations See dependency  
envirem  
Generation of ENVIREM Variables
Generation of bioclimatic rasters that are complementary to the typical 19 bioclim variables. ...
Download / Learn more Package Citations See dependency  
msm  
Multi-State Markov and Hidden Markov Models in Continuous Time
Functions for fitting continuous-time Markov and hidden Markov multi-state models to longitudinal d ...
Download / Learn more Package Citations See dependency  
quickcode  
Quick and Essential 'R' Tricks for Better Scripts
The NOT functions, 'R' tricks and a compilation of some simple quick plus often used 'R' codes to im ...
Download / Learn more Package Citations See dependency  

27,268

R Packages

233,548

Dependencies

72,590

Author Associations

27,205

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA