johnpaulbin / ColabKit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ColabKit

pip install git+https://github.com/johnpaulbin/ColabKit.git

Easily importable scripts to be used in your colab runtime.

Features

Text

from ColabKit.text.transcript import transcript
textfile = transcript("transcript.txt")
  • Prefix / Suffix creator

textfile.psfix(suffix="this is a suffix o/")

  • Arpabet converter

textfile.arpa(ljspeech = True) (Change ljspeech to False to convert the whole line.)

Tacotron2

from ColabKit.tacotron2.dataset import dataset
tacoset = dataset("transcript.txt")
  • Pickle a dataset

tacoset.pickle(. . .) (View dataset.py for required parameters)

About

License:Creative Commons Zero v1.0 Universal


Languages

Language:Python 100.0%