Merge branch 'bleed' of github.com:chrys87/fenrir into bleed
This commit is contained in:
commit
ac4b5ef70a
@ -9,10 +9,10 @@ genericFrequencyCommand=play -q -v fenrirVolume -n -c1 synth fenrirDuration sine
|
||||
|
||||
[speech]
|
||||
enabled=True
|
||||
driver=speechdDriver
|
||||
#driver=genericDriver
|
||||
#driver=speechdDriver
|
||||
driver=genericDriver
|
||||
serverPath=
|
||||
rate=0.95
|
||||
rate=0.80
|
||||
pitch=0.5
|
||||
# Pitch for capital letters
|
||||
capitalPitch=0.9
|
||||
@ -133,7 +133,7 @@ commandPath=
|
||||
attributeFormatString=Background fenrirBGColor,Foreground fenrirFGColor,fenrirUnderline,fenrirBold,fenrirBlink, Font fenrirFont,Fontsize fenrirFontSize
|
||||
autoPresentIndent=False
|
||||
# play a sound when attributes are changeing
|
||||
hasAttributes=True
|
||||
hasAttributes=False
|
||||
# shell for PTY emulatiun (empty = default shell)
|
||||
shell=
|
||||
|
||||
|
@ -9,6 +9,7 @@ import re, string
|
||||
|
||||
class textManager():
|
||||
def __init__(self):
|
||||
# https://regex101.com/
|
||||
self.regExSingle = re.compile(r'(([^\w\s])\2{5,})')
|
||||
self.regExDouble = re.compile(r'([^\w\s]{2,}){5,}')
|
||||
def initialize(self, environment):
|
||||
|
Loading…
Reference in New Issue
Block a user