summaryrefslogtreecommitdiffhomepage
path: root/libs/auditok/dataset.py
diff options
context:
space:
mode:
Diffstat (limited to 'libs/auditok/dataset.py')
-rw-r--r--libs/auditok/dataset.py18
1 files changed, 18 insertions, 0 deletions
diff --git a/libs/auditok/dataset.py b/libs/auditok/dataset.py
new file mode 100644
index 000000000..dbee8f61e
--- /dev/null
+++ b/libs/auditok/dataset.py
@@ -0,0 +1,18 @@
+"""
+This module contains links to audio files you can use for test purposes.
+"""
+
+import os
+
+__all__ = ["one_to_six_arabic_16000_mono_bc_noise", "was_der_mensch_saet_mono_44100_lead_trail_silence"]
+
+_current_dir = os.path.dirname(os.path.realpath(__file__))
+
+one_to_six_arabic_16000_mono_bc_noise = "{cd}{sep}data{sep}1to6arabic_\
+16000_mono_bc_noise.wav".format(cd=_current_dir, sep=os.path.sep)
+"""A wave file that contains a pronunciation of Arabic numbers from 1 to 6"""
+
+was_der_mensch_saet_mono_44100_lead_trail_silence = "{cd}{sep}data{sep}was_\
+der_mensch_saet_das_wird_er_vielfach_ernten_44100Hz_mono_lead_trail_\
+silence.wav".format(cd=_current_dir, sep=os.path.sep)
+""" A wave file that contains a sentence between long leading and trailing periods of silence"""