Semi-Automatic Analysis of Sound Correspondences


[Up] [Top]

Documentation for package ‘soundcorrs’ version 0.1.1

Help Pages

%hasPrefix% Check if a string starts with another string.
%hasSuffix% Check if a string ends in another string.
addSeparators Intersperse a vector of strings with a character or string.
allPairs Produce a list of all sound correspondences and all pairs in which they are attested.
allTables Generate all contingency tables for a dataset.
binTable Sum all rows and all columns in a table, except for the selected ones.
cbind.soundcorrs Attach one or more columns to a 'soundcorrs' object.
char2value Convert characters to their values.
expandMeta Expand custom metacharacters to a regular expression.
findPairs Find all pairs with corresponding sequences of sounds.
findSegments Segments in relation to segments exhibiting a correspondence.
fitTable Fit multiple models to multiple datasets.
formatter.html A formatter for 'allPairs'. This one formats to HTML.
formatter.latex A formatter for 'allPairs'. This one formats to LaTeX.
formatter.none A formatter for 'allPairs'. This one does practically no formatting at all.
lapplyTest Apply a function to a list.
long2wide Convert from the long format (single entry per row) to the wide format (multiple entries per row).
multiFit Fit multiple models to one dataset.
ngrams Frequencies of n-grams.
print.df.findPairs Pretty printing for the result of 'findPairs'.
print.scOne A more reasonable display of a 'scOne' object.
print.soundcorrs A more reasonable display of a 'soundcorrs' object.
print.transcription A more reasonable display of a 'transcription' object.
read.scOne Read data for a single language from a tsv file.
read.transcription Read transcription from a tsv file.
sampleSoundCorrsData.abc A sample dataset with entirely made up words and languages.
sampleSoundCorrsData.capitals A sample dataset with the names of EU capitals in German, Polish, and Spanish.
sampleSoundCorrsData.ie A sample dataset with a dozen words in English, Gothic, Greek, and Latin.
scOne Constructor function for the 'scOne' class.
soundcorrs Constructor function for the 'soundcorrs' class.
subset.soundcorrs Return a subset of sound correspondences data which meets a condition.
summary.list.lapplyTest A quick summary of the result of 'lapplyTest'.
summary.list.multiFit A comparison of the results produced by 'fitTable' or 'multiFit'.
summary.soundcorrs Generate a segment-to-segment contingency table for two languages.
table The base::'table' function.
table.soundcorrs Generate a correspondence-to-correspondence or correspondence-to-metadata contingency table.
transcription Constructor function for the 'transcription' class.
vec2df.hist A vector to data frame converter for 'fitTable'. This one makes a histogram, and returns a data frame with midpoints and counts.
vec2df.id A vector to data frame converter for 'fitTable'. This one only does the necessary minimum.
vec2df.rank A vector to data frame converter for 'fitTable'. This one orders data by rank.
wide2long Convert from the wide format (multiple entries per row) to the long format (single entry per row).