mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-24 20:31:15 +00:00
New language option lowercaseSentence
When set in a language file, a period followed by a lower case letter is detected as end of sentence. Normal behavior is to require a capital letter.
This commit is contained in:
@@ -26,6 +26,7 @@
|
||||
- [phonemes](#phonemes)
|
||||
- [dictionary](#dictionary)
|
||||
- [dictrules](#dictrules)
|
||||
- [lowercaseSentence](#lowercaseSentence)
|
||||
- [replace](#replace)
|
||||
- [stressRule](#stressrule)
|
||||
- [stressLength](#stresslength)
|
||||
@@ -385,6 +386,16 @@ language dictionary. They apply to rules in the language's `*_rules`
|
||||
dictionary file and also its `*_list` exceptions list. See
|
||||
[Text to Phoneme Translation](dictionary.md#conditional-rules).
|
||||
|
||||
### lowercaseSentence
|
||||
|
||||
lowercaseSentence <no arguments>
|
||||
|
||||
By default, a sentence end is detected if a period `.` is followed by an uppercase letter.
|
||||
When lowercaseSentence is set, a period followed by a lowercase letter is also handled as end of sentence.
|
||||
|
||||
Note that other conditions, such as abbreviations, might override this setting.
|
||||
|
||||
|
||||
### replace
|
||||
|
||||
replace <flags> <phoneme> <replacement phoneme>
|
||||
|
||||
Reference in New Issue
Block a user