Description Usage Arguments Value Examples
A formatter for allPairs
. This one does practically no formatting at all.
1 | formatter.none(what, x, direction = 1)
|
what |
[character] What type of data is |
x |
The object to be formatted. |
direction |
[integer] If 1, correspondences are in the order Language1 > Language2 ("x yields y"). If 2, the order is Language2 < Language1 ("y originates from x"). Defaults to 1. |
[character] Formatted x.
1 2 3 4 5 6 7 8 | # prepare sample dataset
fTrans <- system.file ("extdata", "trans-common.tsv", package="soundcorrs")
fData <- system.file ("extdata", "data-capitals.tsv", package="soundcorrs")
tmp.ger <- read.soundcorrs (fData, "German", "ALIGNED.German", fTrans)
tmp.pol <- read.soundcorrs (fData, "Polish", "ALIGNED.Polish", fTrans)
dataset <- merge (tmp.ger, tmp.pol)
# run allPairs
allPairs (dataset, unit="o", formatter=formatter.none)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.