Description Usage Arguments Value Examples
Computes a distance matrix between dialect varieties, the results of which may be used for further analyses and plotting.
1 2 3 4 5 6 | distance_matrix(
dialect_data,
funname,
alignment_normalization = FALSE,
delim = NULL
)
|
dialect_data |
A dataframe of dialect data, transcribed in the International Phonetic Alphabet. |
funname |
The distance metric to be used. This can be chosen from the following: "leven", "vc_leven". |
alignment_normalization |
A logical value, indicating whether or not the distance scores should be normalized by alignment length. |
delim |
An optional delimiter, in situations where multiple responses exist in the data. |
A distance matrix, where the values are the difference between dialects based on edit distance.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.