Skip to main content

No project description provided

Project description

Conversations

PyPI - Version PyPI - Python Version

Introducing "Conversations" - a Python package designed to explore the true potential of conversational analysis. With its ability to transcribe, diarise, and generate visually appealing HTML reports, "Conversation" empowers you to delve deeper into the intricacies of human communication. Recognizing that conversations are brimming with meaning conveyed not just through language, but also through key acoustic features like loudness, intonation, and speech rate, this package brings forth an indispensable tool for understanding and interpreting the wealth of information embedded in everyday exchanges. Conversations enables you to analyze and comprehend the complex world of human interaction.

Installation

pip install conversations

Usage

from pathlib import Path
from conversations import Conversation

audio_file = Path('/path/to/audio.mp4')
speaker_mapping={"0": "Alice", "1": "Bob", "2": "Sam"}

conversation = Conversation(recording=audio_file)

conversation.transcribe()
conversation.diarise()
html_report = conversation.report(speaker_mapping=speaker_mapping)

with open('conversation.html', 'w') as f:
    f.write(html_report.render())

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

conversations-0.16.0.tar.gz (10.8 kB view hashes)

Uploaded Source

Built Distribution

conversations-0.16.0-py3-none-any.whl (8.4 kB view hashes)

Uploaded Python 3

Supported by

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