No project description provided
Project description
Conversations
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
# Information about the conversation
audio_file = Path('/path/to/audio.mp4')
speaker_mapping={"0": "Alice", "1": "Bob", "2": "Sam"}
# Load the conversation
conversation = Conversation(recording=audio_file, speaker_mapping=speaker_mapping)
# Process the conversation
conversation.transcribe()
conversation.diarise()
conversation.save()
# Generate an interactive HTML version of the conversation
html_report = conversation.report()
with open('conversation.html', 'w') as f:
f.write(html_report.render())
# Generate a text file of the conversation
text_report = conversation.export_text()
with open('conversation.txt', 'w') as f:
f.write(text_report)
# Generate a text file summarising the conversation
summary = conversation.summarise(print_summary=True)
with open('conversation-summary.txt', 'w') as f:
f.write(summary)
# Summary:
# In the meeting, Alice, Sam and Bob discuss the financial state of
# businesses, the challenges of companies going private, and the
# evolution of private equity firms' return expectations. They
# also touch on the industry's early risk-taking nature. Bob
# mentions historical deals as examples of the early risk-taking
# nature of private equity firms.
#
# Key Points:
# 1. Challenges of companies going private
# Alice: "Challenges of companies going private, especially in
# terms of cutting expenses and finding new ways to pay
# employees who were previously compensated with stocks."
# 2. Private equity firms' return expectations
# Sam: "What are private equity firms' return expectations
# when purchasing a company?"
# 3. Evolution of the private equity industry
# Bob: "The industry has evolved over time, with early private
# equity firms taking on riskier ventures,
# similar to venture capitalists."
# ...
#
# Action Items:
# None discussed in the meeting.
#
# 20 Keywords (most to least relevant):
# 1. Financial state
# 2. Business
# 3. Operating cash flow
# ...
#
# 10 Concepts/Themes (most to least relevant):
# 1. Financial challenges
# 2. Going private
# 3. Private equity
# ...
#
# Most unexpected aspect of the conversation:
# The most unexpected aspect of the conversation was the mention of
# historical deals like RJR Nabisco and TWA Airlines as examples
# of the early risk-taking nature of private equity firms.
#
# Concepts/Topics explained in the transcript:
# 1. Private equity firms' return expectations:
# Bob explains that the industry has evolved over time,
# with early private equity firms taking on riskier ventures,
# similar to venture capitalists. No inaccuracies were identified.
#
# Tone of the conversation:
# Overall tone: Informative and analytical
# Alice's tone: Concerned and analytical
# Bob's tone: Informative and explanatory
# Sam's tone: Inquisitive
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 conversations-0.24.0.tar.gz
.
File metadata
- Download URL: conversations-0.24.0.tar.gz
- Upload date:
- Size: 17.6 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | e018f8139832cee4a7b0b063471d84cfd48594adb99e804fa48bc75fb9e6d76b |
|
MD5 | 375fa03298a8da0fd5aeb2bbcd0015a4 |
|
BLAKE2b-256 | 1c48e50a3c1359355b88fa3eeb9510d7712738b31c710b1a1c861130e48b2433 |
Provenance
File details
Details for the file conversations-0.24.0-py3-none-any.whl
.
File metadata
- Download URL: conversations-0.24.0-py3-none-any.whl
- Upload date:
- Size: 15.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 25d58a7df91326bb1709ffd1c8f3f234f7db54d2b53c5529693c63ee3a626631 |
|
MD5 | 6cc5026ef81784c96096c51b9e77b708 |
|
BLAKE2b-256 | 05a37db0fdf1b8e705e9bd304e5546a3594b04b8c8dd34410ccb790158de65ed |