https://github.com/techiaith/techiaith-tts
Testun I Leferydd Techiaith. // Techiaith Text To Speech.
https://github.com/techiaith/techiaith-tts
Last synced: 25 days ago
JSON representation
Testun I Leferydd Techiaith. // Techiaith Text To Speech.
- Host: GitHub
- URL: https://github.com/techiaith/techiaith-tts
- Owner: techiaith
- License: mit
- Created: 2023-03-20T14:46:23.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2025-12-12T00:08:07.000Z (about 2 months ago)
- Last Synced: 2025-12-15T16:25:14.747Z (about 2 months ago)
- Language: Python
- Homepage:
- Size: 4.34 MB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# techiaith-tts
*****************
Contents
========
Getting started:
* Installation
* Installing with "pip"
* Installing from source
* Overview
* Changelog
* Unreleased
Installation
============
### Installing with "pip"
```shell
pip install git+https://github.com/techiaith/techiaith-tts
```
### Installing from source
```shell
git clone https://github.com/techiaith/techiaith-tts.git
cd techiaith-tts
conda create -n techiaith-tts python=[3.9 <= x.x => 3.12]
conda activate techiaith-tts
pip install -r requirements.txt
pip install -e .
```
Overview
========
The normaliser function `parse_text()` takes a string as an input and expands symbols to their string representation.
The code snippet below, from src/demo.py, runs an infinite loop taking user input and returning the full text representation of the input.
### Usage
```python
from techiaith.tts.testun.normaliser import parse_text
while True:
text = input("\nprompt: ")
clean_text = parse_text(text)
print("\nresult:", clean_text)
if clean_text == "exit":
break
```
#### Output
```
$ python normaliser_test.py
prompt: Y dyddiad heddiw ydi'r 1af o Ionawr 2023
result: Y dyddiad heddiw ydi'r cyntaf o Ionawr dwy fil dau ddeg tri
```
Team
====
**techiaith-tts** is developed and maintained by the *Uned Technolegau
Iaith (UTI) * team, backed by *Prifysgol
Bangor (UTI) *. A self-funded research unit
that develops technologies for the Welsh language. To learn more about
who specifically contributed to this codebase, see our contributors
page.
License
=======
**techiaith-tts** is licensed under MIT License. A full copy of the
license can be found on GitHub.
Indices and tables
==================
* Index
* Module Index