Transcribe and understand your audio/video files super fast.
Project description
afiz-speech-text
Read more about AssemblyAI here 👇
Docs
Install
pip install afiz-speech-text
How to use
This Library provides a
AssemblyAI
class using which you can submit audio files for transcribing and
uderstanding it better.
from afiz_speech_text.assemblyai import AssemblyAI
First create the assembly_ai instance by providing the AssemblyAI API KEY, which you can get it for free from here
assembly_ai = AssemblyAI(api_key=YOUR_API_KEY)
Submit the audio url for transcription
res = assembly_ai.submit_url_for_transcription(audio_url="https://bit.ly/3yxKEIY")
res.get('id') # This id is used to extract the actual text from the audio files.
'rs3c8julbq-177d-4071-ab6f-d7c7a9bb6dbb'
Getting the Transcription Result
full_details = assembly_ai.get_transcription_results('rs3c8julbq-177d-4071-ab6f-d7c7a9bb6dbb')
print(full_details['text'])
You know, demons on TV like that. And and for people to expose themselves to being rejected on TV or, you know, humili humiliated by Fear Factor or, you know.
We can check out other details like sentiment analysis from
full_details
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 Distribution
Built Distribution
File details
Details for the file afiz-speech-text-0.0.3.tar.gz
.
File metadata
- Download URL: afiz-speech-text-0.0.3.tar.gz
- Upload date:
- Size: 8.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 267b5139e5a47bdf2fb6b47324cb7dd968390ac37b2e268f1622a64cb345b635 |
|
MD5 | ebebdd62839d38633fcbbf5e48d06ecc |
|
BLAKE2b-256 | 837abc7104fd210c5915c813a6b480e3c829606cd1288567c4680630fff83c7f |
File details
Details for the file afiz_speech_text-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: afiz_speech_text-0.0.3-py3-none-any.whl
- Upload date:
- Size: 8.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f45ab4aed3c8e9029f5e4a4de641a32cf5584e676663e477269b4c100d1d4565 |
|
MD5 | bef0b3ff1960aa418440c91301163b6d |
|
BLAKE2b-256 | bf537d85b18446b0f361c1cdbf204192685eca6ffb511de357712d215583a5cc |