• Stars
    star
    215
  • Rank 177,848 (Top 4 %)
  • Language
    Python
  • License
    MIT License
  • Created 12 months ago
  • Updated 12 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

TTS with The Massively Multilingual Speech (MMS) project

ttsmms

Text-to-speech with The Massively Multilingual Speech (MMS) project

This project want to help you for use Text-to-speech model from MMS project in Python.

Support 1,107 Languages! (See support_list.txt)

  • VITS: GitHub
  • MMS: Scaling Speech Technology to 1000+ languages: GitHub

Google colab

Don't forget the TTS model in MMS project use CC-BY-NC license.

Install

pip install ttsmms

Usage

First, you need to download the model by

from ttsmms import download

dir_path = download("eng","./data") # lang_code, dir for save model

or download file by yourself

Linux/Mac

  1. download

curl https://dl.fbaipublicfiles.com/mms/tts/lang_code.tar.gz --output lang_code.tar.gz

  1. extract a tar ball archive.

Linux/Mac

mkdir -p data && tar -xzf lang_code.tar.gz -C data/

and use code in python :D

from ttsmms import TTS

tts=TTS(dir_path) # or "model_dir_path" your path dir that extract a tar ball archive
wav=tts.synthesis("txt")
# output:
# {
#    "x":array(wav array),
#    "sampling_rate": 16000
# }

tts.synthesis("txt",wav_path="example.wav")
# output: example.wav file

More Repositories

1

thai-ner

Thai Named Entity Recognition
Jupyter Notebook
47
star
2

pypromptpay

QR Code PromptPay in Python 3.
Python
24
star
3

fixthaipdf

Fix Thai PDF
Jupyter Notebook
20
star
4

KhanomTan-TTS-v1.0

KhanomTan TTS (ขนมตาล) is an open-source Thai text-to-speech model that supports multilingual speakers such as Thai, English, and others.
Python
20
star
5

LaoNLP

Lao language NLP
Python
19
star
6

MyList_ThaiNLP_Group

13
star
7

IsanNLP

Isan NLP
Python
13
star
8

thai-romanization

Deep learning for thai romanization.
Jupyter Notebook
11
star
9

thaigpt-next

It is fine-tune the GPT-Neo model for Thai language.
Jupyter Notebook
11
star
10

thai-english-transliteration-dictionary

Thai-English transliteration dictionary
Python
9
star
11

NokCut

Thai Word Segmentation using TCC + Bidirectional RNNs
Python
8
star
12

thai-word-segmentation-sentencepiece

thai word segmentation using sentencepiece
Python
8
star
13

thai-sent_tokenize

Python
7
star
14

code-python3-blog

code from python3.wannaphong.com
Python
7
star
15

thai-grapheme-to-phoneme

Thai Grapheme-to-Phoneme (Thai G2P)
Python
6
star
16

Awesome-Lao-NLP

Awesome Lao Natural Language Processing
6
star
17

Thai_W2P

Thai Word-to-Phoneme (W2P) converter
Python
6
star
18

thaitextaug

Thai Text Augmentation
Jupyter Notebook
5
star
19

thaitts

Open source thai text to speech engine.
Python
5
star
20

KhamYo

KhamYo: Thai abbreviation to full text tool
Jupyter Notebook
4
star
21

phpthainlp

Fork from PyThaiNLP in PHP !
PHP
3
star
22

ThaiWrap-bookmarklet

ThaiWrap bookmarklet / ตัวตัดบรรทัดข้อความไทย
JavaScript
3
star
23

guide-to-thai-open-source

เอกสารแนะนำสำหรับผู้ที่สนใจและร่วมพัฒนา open source ของไทย
3
star
24

nostr-chatbot

Make Nostr ChatBot from python
Python
3
star
25

open-thai-nlp-document

เอกสารเปิดในการพัฒนา NLP ภาษาไทยของ นาย วรรณพงษ์ ภัททิยไพบูลย์
Jupyter Notebook
3
star
26

pytemperature

Scale of temperature
Python
2
star
27

thchid-crf-postag

Python
2
star
28

ReadNews

Read News from RSS on Android
Kotlin
2
star
29

python-thai-tts-simple

Python
2
star
30

easynertag

Easy tagging for annotate NER corpus
Python
2
star
31

th-ud

Jupyter Notebook
2
star
32

KhanomTan-TTS

KhanomTan TTS (ขนมตาล) is an open-source Thai text-to-speech model.
2
star
33

my-thainlp-collection

2
star
34

KhanomTan-TTS-v1.1

KhanomTan TTS v1.1
2
star
35

thaipy

Write Python 3 language in thai lang (ยุติการพัฒนา)
Python
2
star
36

sandy_nsc2020

แสนดี : คู่บ้านผู้สูงอายุ
Python
2
star
37

KKU-CSL

Khon Kaen University Style For Citation Style Language (CSL)
1
star
38

thaidict

Jupyter Notebook
1
star
39

pythaiair

Thai Air Quality library
Python
1
star
40

newnewthaicut

Python
1
star
41

os-dev

OS Dev
Assembly
1
star
42

SMT_Dict

SMT Dict
PHP
1
star
43

thainlp.net

Thai NLP in .NET
C#
1
star
44

thai-word2vec

Thai wiki word2vec
1
star
45

php-database-library-nkc

PHP
1
star
46

timenone

TimeNone ธามนั้น นั้นเอง :)
C#
1
star
47

Thai_Fake_News_Classification

Thai Fake News Classification
1
star
48

PyThaiOCR

Python
1
star
49

guestbook

guestbook in php (Cease development). It's my old work.
PHP
1
star
50

dataset-dict

1
star
51

buy-me-a-coffee

My BuyMeACoffee site ☕
1
star
52

vadlite

Java
1
star
53

HanPud

Han Pud (ห่าน พูด): Thai super large generative model
Python
1
star
54

how_to_learn_thainlp

1
star
55

KKU-NKC-Maps

Maps for Khon Kaen University Nong Khai Campus
1
star
56

thai-wordlist

Python
1
star
57

udacity_pytorch_challenge

Jupyter Notebook
1
star
58

deep-learning-docker

Dockerfile
1
star
59

thai-g2p

Thai G2P is Grapheme to Phoneme model in PyThaiNLP.
Jupyter Notebook
1
star
60

thai-language-models

Thai Language Models
1
star
61

thai2rom-v2

Jupyter Notebook
1
star
62

thai-filter-website

Jupyter Notebook
1
star