Produce .docx transcriptions from AWS Transcribe output.
Project description
tscribe
Produce Word Document, CSV or SQLite transcriptions using the automatic speech recognition from AWS Transcribe.
Installation
pip install tscribe
Results
| Time | Speaker | Comment |
|---|---|---|
| 0:00:03 | spk_0 | Is this on? |
| 0:00:05 | spk_1 | Yep. |
| 0:00:06 | spk_0 | Great. |
Usage
Getting started
Simply import tscribe and point tscribe.write(...) at your .json file.
import tscribe
tscribe.write("output.json")
output.docx written in x seconds.
Output formats
Supported output formats include:
docx(default)csvsqlite
import tscribe
tscribe.write("output.json", format="docx")
tscribe.write("output.json", format="csv")
tscribe.write("output.json", format="sqlite")
output.docx written in x seconds.
output.csv written in x seconds.
output.db written in x seconds.
Target directory or filename
You may wish to be explicit in specifying the output filename or directory written to. Use cases may include following a naming convention or operating in a serverless environment.
import tscribe
tscribe.write("output.json", save_as="transcript.docx")
tscribe.write("output.json", save_as="/tmp/transcript.docx")
transcript.docx written in x seconds.
/tmp/transcript.docx written in x seconds.
Combining format and target
import tscribe
tscribe.write("output.json", format="csv", save_as="output/output.csv")
output/output.csv written in x seconds.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tscribe-1.2.1-py3-none-any.whl.
File metadata
- Download URL: tscribe-1.2.1-py3-none-any.whl
- Upload date:
- Size: 6.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9701bf6e403cdfad2b6e7e15dd5af8a6a631751e34b0a6d216d56005317a1d19
|
|
| MD5 |
826604e303ade08379bda82fd923ff86
|
|
| BLAKE2b-256 |
71ed0f2779026d853765b8cb90030c730c96a2280540a9bea9532ca148b7051f
|