afiz-speech-text-0.0.3
توضیحات
Transcribe and understand your audio/video files super fast.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | afiz-speech-text-0.0.3 |
| نام | afiz-speech-text |
| نسخه کتابخانه | 0.0.3 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Afiz |
| ایمیل نویسنده | itsafiz@gmail.com |
| آدرس صفحه اصلی | https://github.com/afizs/afiz-speech-text |
| آدرس اینترنتی | https://pypi.org/project/afiz-speech-text/ |
| مجوز | Apache Software License 2.0 |
afiz-speech-text
================
<!-- WARNING: THIS FILE WAS AUTOGENERATED! DO NOT EDIT! -->
Read more about AssemblyAI here 👇
[Docs](https://www.assemblyai.com/docs)
## Install
``` sh
pip install afiz-speech-text
```
## How to use
This Library provides a
[`AssemblyAI`](https://afizs.github.io/afiz-speech-text/assemblyai.html#assemblyai)
class using which you can submit audio files for transcribing and
uderstanding it better.
``` python
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](https://app.assemblyai.com/)
``` python
assembly_ai = AssemblyAI(api_key=YOUR_API_KEY)
```
### Submit the audio url for transcription
``` python
res = assembly_ai.submit_url_for_transcription(audio_url="https://bit.ly/3yxKEIY")
```
``` python
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
``` python
full_details = assembly_ai.get_transcription_results('rs3c8julbq-177d-4071-ab6f-d7c7a9bb6dbb')
```
``` python
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`
نیازمندی
| مقدار | نام |
|---|---|
| - | requests |
| - | fastcore |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.7 | Python |
نحوه نصب
نصب پکیج whl afiz-speech-text-0.0.3:
pip install afiz-speech-text-0.0.3.whl
نصب پکیج tar.gz afiz-speech-text-0.0.3:
pip install afiz-speech-text-0.0.3.tar.gz