Skip to main content

No project description provided

Project description

Conversations

PyPI - Version PyPI - Python Version Tests

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.

Documentation

Comprehensive documentation including overview, api, and examples can be found here.

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.18.0.tar.gz (12.3 kB view details)

Uploaded Source

Built Distribution

conversations-0.18.0-py3-none-any.whl (10.1 kB view details)

Uploaded Python 3

File details

Details for the file conversations-0.18.0.tar.gz.

File metadata

  • Download URL: conversations-0.18.0.tar.gz
  • Upload date:
  • Size: 12.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.9.6 readme-renderer/37.3 requests/2.28.2 requests-toolbelt/0.10.1 urllib3/1.26.15 tqdm/4.65.0 importlib-metadata/6.1.0 keyring/23.13.1 rfc3986/2.0.0 colorama/0.4.6 CPython/3.10.10

File hashes

Hashes for conversations-0.18.0.tar.gz
Algorithm Hash digest
SHA256 fea303720bff5670b4a45b35df2098ff445cdf4b380bc042e4faa5866f6444c2
MD5 a81a3ddc56b1fe4891e5425c584cf053
BLAKE2b-256 cfe814c05c18195b45d581c63b201d11a8eb3843acaed0b734d8f8935077e65b

See more details on using hashes here.

Provenance

File details

Details for the file conversations-0.18.0-py3-none-any.whl.

File metadata

  • Download URL: conversations-0.18.0-py3-none-any.whl
  • Upload date:
  • Size: 10.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.9.6 readme-renderer/37.3 requests/2.28.2 requests-toolbelt/0.10.1 urllib3/1.26.15 tqdm/4.65.0 importlib-metadata/6.1.0 keyring/23.13.1 rfc3986/2.0.0 colorama/0.4.6 CPython/3.10.10

File hashes

Hashes for conversations-0.18.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ac4d1847813096f777cac383f122f35e06e0b790ec2144903140e2f626b3bb14
MD5 f999fe0a406bddc5e2d120eae1fd1d51
BLAKE2b-256 75f2ca697697c9b8adc279e7a65cca1e7a67c4b9c1404bdade19e3e336139bd1

See more details on using hashes here.

Provenance

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