Description Usage Arguments Value Examples
evaluation of speech detection tools
1 2 3 |
test |
character, path to file with annotations in either ELAN (.eaf) or DiViMe (.rttm) format |
reference |
character, path to reference file with annotations in either ELAN (.eaf) or DiViMe (.rttm) format |
nsegments |
numeric, the number of segments in which the file is to be split (represented as different lines in output graphic). Default is |
duration |
numeric, optional info about the duration of the audio. At its default |
from |
numeric, starting point for selecting a subset of time |
to |
numeric, starting point for selecting a subset of time |
overlap_res |
numeric, the time resolution for calculating overlap, by default |
doplot |
logical, should the plot actually be produced (default is |
raw_results |
logical, should the raw results be returnd, i.e. the values per 'sample' (by default |
... |
additional parameters for elan files (which tiers/annotations to ignore), see |
a data.frame with proportions of agreement between the two SADs
1 2 3 4 5 6 7 8 9 10 11 12 | test <- system.file("noisemesSad_synthetic_speech.rttm", package = "avutils")
reference <- system.file("synthetic_speech.eaf", package = "avutils")
# no overlap calculation
evaluate_sad(test = test, reference = reference)
# fairly crude time resolution for overlap calculation
evaluate_sad(test = test, reference = reference, overlap_res = 10)
# slightly higher time resolution
evaluate_sad(test = test, reference = reference, overlap_res = 100)
# even more fine-grained
evaluate_sad(test = test, reference = reference, overlap_res = 1000)
# even more fine-grained and file split into multiple segments
evaluate_sad(test = test, reference = reference, nsegments = 10, overlap_res = 100)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.