Skip to main content

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.

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

afiz-speech-text-0.0.2.tar.gz (8.7 kB view details)

Uploaded Source

Built Distribution

afiz_speech_text-0.0.2-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

Details for the file afiz-speech-text-0.0.2.tar.gz.

File metadata

  • Download URL: afiz-speech-text-0.0.2.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

Hashes for afiz-speech-text-0.0.2.tar.gz
Algorithm Hash digest
SHA256 d0a9d2dba498c4c96f7f798a2e6a33de9dd2b9c429f14025948e73f646a148d8
MD5 94177e41828fc271ccf2a435c2536a80
BLAKE2b-256 3546f9cfddb989046f2af5b00035e7b1b484008da9b625366885ef21e335916e

See more details on using hashes here.

File details

Details for the file afiz_speech_text-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for afiz_speech_text-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9e5443c1ef9dec8a45e3ce840ddfad86ecf94e653e57b59062aefa37e2548f20
MD5 862c06943a87ab44c80fa514e327d9aa
BLAKE2b-256 c545a264089ea982ce3a3ea9b56edd3add3db14b2d3743d2fdd230b74481f48c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page