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 18 Sep. 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

hmeasure  
The H-Measure and Other Scalar Classification Performance Metrics
Classification performance metrics that are derived from the ROC curve of a classifier. The package ...
Download / Learn more Package Citations See dependency  
downlit  
Syntax Highlighting and Automatic Linking
Syntax highlighting of R code, specifically designed for the needs of 'RMarkdown' packages like 'pk ...
Download / Learn more Package Citations See dependency  
r2resize  
In-Text Resize for Images, Tables and Fancy Resize Containers in 'shiny', 'rmarkdown' and 'quarto' Documents
Automatic resizing toolbar for containers, images and tables. Various resizable or expandable contai ...
Download / Learn more Package Citations See dependency  
eyelinker  
Import ASC Files from EyeLink Eye Trackers
Imports plain-text ASC data files from EyeLink eye trackers into (relatively) tidy data frames for ...
Download / Learn more Package Citations See dependency  
data360r  
Wrapper for 'TCdata360' and 'Govdata360' API
Makes it easy to engage with the Application Program Interface (API) of the 'TCdata360' and 'Govdat ...
Download / Learn more Package Citations See dependency  
injectoR  
R Dependency Injection
R dependency injection framework. Dependency injection allows a program design to follow the depend ...
Download / Learn more Package Citations See dependency  

28,565

R Packages

239,283

Dependencies

75,677

Author Associations

28,566

Publication Badges

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