LDLConvFunctions
offers functions
- to conveniently compute and extract several measures from WpmWithLdl objects
- to reorder C matrices when handling pseudowords in LDL
Check out the vignette for more detailed information.
The preferred way to install this package is through devtools:
devtools::install_github("dosc91/LDLConvFunctions", upgrade_dependencies = FALSE)
The ALDC
function requires the stringdist
package to function. Thus, the stringdist
package is automatically installed unless it is installed already.
Similary, the EDNN
function requires the FNN
package to function. Thus, this package is automatically installed unless it is installed already.
In case this automatic installation does not work for whatever reason, please install the required packages manually:
install.packages("stringdist")
install.packages("FNN")
This is a full list of all functions currently contained in LDLConvFunctions
Functions to compute and extract measures:
- ALC - Average Lexical Correlation
- ALDC - Average Levenshtein Distance of Candidates
- DRC - Dual Route Consistency
- EDNN - Euclidian Distance from Nearest Neighbour
- MWS - Mean Word Support
- NNC - Nearest Neighbour Correlation
- SCPP - Semantic Correlation of Predicted Production
Functions to reorder C matrices:
- find_triphones
- reorder_pseudo_C_matrix
Additionally, the package provides a small sample data set:
- LDLConvFunctions_data.RData
Please see the references section of the vignette for a list of references.
Please cite the package as follows:
Schmitz, Dominic. (2021). LDLConvFunctions: Functions for measure computation, extraction, and other handy stuff. R package version 1.2.0.1. URL: https://github.com/dosc91/LDLConvFunctions