Product
Introducing License Enforcement in Socket
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
InterviewTranscriber
Advanced tools
Python based interface for interacting with Google Cloud's Speech-to-Text API and Cloud Storage API.
Python interface for interacting with the Google Speech-to-Text API and Google Cloud Storage API for the purposes of automatic audio transcription. Usage requires a google cloud account with a credential's file issued from it with permissions for both APIs.
pip install InterviewTranscriber
# 1) Upload audio file(s) to Google Coud Coldline Storage bucket.
from Transcriber.Google.Storage import Storage
from Transcriber.Google.Transcriber import TranscriberBeta
storage_connection = Storage(project_id='<project_id>',
credential_path='<path_to_credential_file')
storage_connection.upload_file(bucket_name='<cloud_bucket_name>',
source_file_path='<path_to_source_file>')
# 2) Get URI list of files in bucket
file_list = storage_connection.get_uris(bucket_name='<cloud_bucket_name>')
# 3) Send API call to transcribe audio
transcriber = TranscriberBeta(output_directory='<path_to_output_directory>',
credential_path='<path_to_credential_file>',
contexts_path='<path_to_contexts_file.txt>',
speaker_count=2,
diarization=True)
transcriber.get_transcriptions(uris=file_list)
# 4) Export as a Praat TextGrid
transcriber.export_textgrids()
FAQs
Python based interface for interacting with Google Cloud's Speech-to-Text API and Cloud Storage API.
We found that InterviewTranscriber demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
Product
We're launching a new set of license analysis and compliance features for analyzing, managing, and complying with licenses across a range of supported languages and ecosystems.
Product
We're excited to introduce Socket Optimize, a powerful CLI command to secure open source dependencies with tested, optimized package overrides.