Feature/Speech to text transcription #495
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request is based on the work of @tayciryahmed in #121 and implements speech-to-text transcription in Doccano.
To keep things simple, the implementation for now uses html5 audio instead of something more sophisticated like wavesurfer. This can be improved in the future if the requirement arises. The
alt+p
keyboard shortcut has been introduced to play/pause the audio player.For ease-of-use, speech-to-text data can be imported either by posting audio files (MP3, WAV, etc.) or by uploading a JSONL manifest that encodes the audio as data URIs or URLs to the audio files.
To make it easier to identify and distinguish audio files, the document left-navigation has been updated to display a file name (instead of file content) if the
meta.filename
attribute is set.Resolves #95