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 28 Aug. 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

survivalMPLdc  
Penalised Likelihood for Survival Analysis with Dependent Censoring
Fitting Cox proportional hazard model under dependent right censoring using copula and maximum penal ...
Download / Learn more Package Citations See dependency  
nextGenShinyApps  
Craft Exceptional 'R Shiny' Applications and Dashboards with Novel Responsive Tools
Nove responsive tools for designing and developing 'Shiny' dashboards and applications. The scripts ...
Download / Learn more Package Citations See dependency  
shinyFeedback  
Display User Feedback in Shiny Apps
Easily display user feedback in Shiny apps. ...
Download / Learn more Package Citations See dependency  
NPflow  
Bayesian Nonparametrics for Automatic Gating of Flow-Cytometry Data
Dirichlet process mixture of multivariate normal, skew normal or skew t-distributions modeling orie ...
Download / Learn more Package Citations See dependency  
spatialCovariance  
Computation of Spatial Covariance Matrices for Data on Rectangles
Functions that compute the spatial covariance matrix for the matern and power classes of spatial mod ...
Download / Learn more Package Citations See dependency  
mxnorm  
Apply Normalization Methods to Multiplexed Images
Implements methods to normalize multiplexed imaging data, including statistical metrics and visuali ...
Download / Learn more Package Citations See dependency  

28,332

R Packages

239,283

Dependencies

75,113

Author Associations

28,333

Publication Badges

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