Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

ubclaunchpad/minutes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build StatusCoverage Status

Jotting things down, so you don't have to.

Spectrogram

Minutes is a speaker diarisation library.Speaker diarisation is the processof identifying different speakers in an audio segment. It is useful formaking transcriptions of conversations meaningful by tagging homogenoussections of the conversation with the appropriate speaker.

For more information about Minutes, and how it works, check out ourMediumpost!

☝️ Installation

Requires Python 3.6!

# Currently we recommend running using the pipenv shell below.python setup.py install

🏃 Development

Dependencies are managed using aPipfile andPipenv:

pipenv installpipenv shell

Testing

pytest --cov=minutes -vvvtest

Example Usage

fromminutesimportSpeaker,Minutes,Conversationminutes=Minutes(parent='cnn')# Create some speakers, add some audio.s1,s2=Speaker('s1'),Speaker('s2')s1.add_audio('path/to/audio1')s2.add_audio('path/to/audio2')# Add speakers to the model.minutes.add_speakers([s1,s2])# Fit the model.minutes.fit()# Collect a new conversation for prediction.conversation=Conversation('/path/to/conversation.wav')# Create phrases from the conversation.phrases=minutes.phrases(conversation)

[8]ページ先頭

©2009-2025 Movatter.jp