EveryVoiceTTS / EveryVoiceTTS/EveryVoice

Allow chunking on double-graphemes

Open
#730 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
45
Forks
4
Avg merge
1d 2h
Merged PRs (30d)
14

Description

### Description & Motivation

We would like to allow chunking on double graphemes, such as ?!

### Pitch

Currently, the chunk_text algorithm in textsplit.py assumes that we will be splitting on a single grapheme (! or. for instance). We would like to remove the assumption that this is the case.

### Alternatives

_No response_

### Additional context

To do this, `textsplit.py` and `text_config.py` would need to be refactored to accept strong and weak boundaries as lists. They are currently stored as strings.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.