emuR
emuR copied to clipboard
The main R package for the EMU Speech Database Management System (EMU-SDMS)
When using `create_itemsInLevel()` to programmatically annotate, annotation items end up being ordered in the JSON files in the order they are added and not the chronological order relative to the...
With grateful thanks to @FredrikKarlssonSpeech for his permission to use code in the https://github.com/humlab-speech/reindeer re-implementation of emuR, here is a working and tested implementation of metadata for emuR. These functions...
I was trying to export an emuDB to TextGrid collection. The db has an annotation superlevel `word` which inherits its time information from sublevel `phone`. I get the following error:...
When an ITEM level contains an item without a link to a SEGMENT or EVENT level, `convert_TextGridCollection()` fails. That is to be expected, because TextGrid cannot contain items without time...
I noticed this while reviewing PR #268 (thanks @FredrikKarlssonSpeech). This is an edge case bug. Steps to reproduce: 1. Load a non-empty database (i.e. one that contains at least one...
There are some issues with create_itemsInLevel, and one of them is that if you have a SEGMENT level with multiple attributes, than you cannot add labels to them. ``` marks...
``` create_emuRdemoData(dir = tmpdir()) > path2ae = file.path(tmpdir(), "emuR_demoData", "ae_emuDB") > ae = load_emuDB(path2ae, verbose = F) > remove_ssffTrackDefinition(ae, "fm", deleteFiles = FALSE) > add_ssffTrackDefinition(ae, "fm", onTheFlyFunctionName = "forest") There...
Using the demo data, first make a new attribute for the *Phonetic* level, called *Phonetic2*, and copy the annotations from the former to the latter using the `update_itemsInLevel()` function. ```r...
``` create_emuRdemoData(dir = tempdir()) path2ae = file.path(tempdir(), "emuR_demoData", "ae_emuDB") ae = load_emuDB(path2ae, verbose = F) ``` Now edit `ae_emuDBconfig.json` so the default perspective looks like so: ``` "EMUwebAppConfig": { "perspectives":...
I imagine there is some good reason for this, but I don't understand this behaviour: ``` > create_emuRdemoData(dir = tempdir()) > demo_data_dir = file.path(tempdir(), "emuR_demoData") > tg_col_dir = file.path(demo_data_dir, "TextGrid_collection")...