Learn R Programming

⚠️There's a newer version (0.4.0) of this package.Take me there.

soundcorrs (version 0.2.0)

Semi-Automatic Analysis of Sound Correspondences

Description

A set of tools that can be used in computer-aided analysis of sound correspondences between languages, plus several helper functions. Analytic functions range from purely qualitative analysis, through statistic methods yielding qualitative results, to an entirely quantitative approach.

Copy Link

Version

Install

install.packages('soundcorrs')

Monthly Downloads

71

Version

0.2.0

License

GPL-3

Maintainer

Kamil Stachowski

Last Published

September 1st, 2020

Functions in soundcorrs (0.2.0)

allPairs

Produce a list of all sound correspondences and all pairs in which they are attested.
cbind.soundcorrs

addSeparators

Intersperse a vector of strings with a character or string.
checkCount

Check if the count argument is correct.
allCooccs

Generate all co-occurrence contingency tables for a dataset.
binTable

Sum all rows and all columns in a table, except for the selected ones.
char2value

Information that the char2value() function is obsolete.
collapse

Paste and collapse.
checkUnit

Check if the unit argument is correct.
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.
merge.soundcorrs

formatter.html

A formatter for allPairs. This one formats to HTML.
multiFit

Fit multiple models to one dataset.
fitTable

Fit multiple models to multiple datasets.
sampleSoundCorrsData.capitals

A sample dataset with the names of EU capitals in German, Polish, and Spanish.
%hasSuffix%

Check if a string ends in another string.
coocc

Generate a contingency table of co-occurrences of sound correspondences with themselves, or with metadata.
%nin%

The inverse of %in%.
sampleSoundCorrsData.abc

A sample dataset with entirely made up words and languages.
sampleSoundCorrsData.ie

A sample dataset with a dozen words in English, Gothic, Greek, and Latin.
expandMeta

Expand custom metacharacters to a regular expression.
%.%

Compose two functions.
wide2long

Convert from the wide format (multiple entries per row) to the long format (single entry per row).
scOne

Information that the scOne class is obsolete.
vec2df.hist

A vector to data frame converter for fitTable. This one makes a histogram, and returns a data frame with midpoints and counts.
transcription

Constructor function for the transcription class.
%hasPrefix%

Check if a string starts with another string.
findPairs

print.soundcorrs

print.transcription

soundcorrs

Constructor function for the soundcorrs class.
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.
subset.soundcorrs

Return a subset of sound correspondences data which meets a condition.
long2wide

Convert from the long format (single entry per row) to the wide format (multiple entries per row).
list.transpose

Transpose a nested list.
read.transcription

Read transcription from a tsv file.
findExamples

Find all pairs/triples/... with corresponding sequences of sounds.
findSegments

Information that the findSegments function is obsolete.
revChar

Rev (reverse the order) for character strings.
read.soundcorrs

Read data for a single language from a tsv file.
ngrams.scOne

Information that the scOne class is obsolete.
read.scOne

Information that the scOne class is obsolete.
ngrams

N-grams and their frequencies.
summary.list.lapplyTest

summary.list.multiFit

print.df.findExamples

print.scOne

Information that the scOne class is obsolete.
lapplyTest

Apply a function to a list.
list.depth

Measure the depth of a nested list.
summary.soundcorrs

Generate a segment-to-segment contingency table for two languages.
tabAbs2Rel

Convert a table from absolute to relative values.