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]
|
[speech]
|
||||||
enabled=True
|
enabled=True
|
||||||
driver=speechdDriver
|
#driver=speechdDriver
|
||||||
#driver=genericDriver
|
driver=genericDriver
|
||||||
serverPath=
|
serverPath=
|
||||||
rate=0.95
|
rate=0.80
|
||||||
pitch=0.5
|
pitch=0.5
|
||||||
# Pitch for capital letters
|
# Pitch for capital letters
|
||||||
capitalPitch=0.9
|
capitalPitch=0.9
|
||||||
@ -133,7 +133,7 @@ commandPath=
|
|||||||
attributeFormatString=Background fenrirBGColor,Foreground fenrirFGColor,fenrirUnderline,fenrirBold,fenrirBlink, Font fenrirFont,Fontsize fenrirFontSize
|
attributeFormatString=Background fenrirBGColor,Foreground fenrirFGColor,fenrirUnderline,fenrirBold,fenrirBlink, Font fenrirFont,Fontsize fenrirFontSize
|
||||||
autoPresentIndent=False
|
autoPresentIndent=False
|
||||||
# play a sound when attributes are changeing
|
# play a sound when attributes are changeing
|
||||||
hasAttributes=True
|
hasAttributes=False
|
||||||
# shell for PTY emulatiun (empty = default shell)
|
# shell for PTY emulatiun (empty = default shell)
|
||||||
shell=
|
shell=
|
||||||
|
|
||||||
|
@ -9,6 +9,7 @@ import re, string
|
|||||||
|
|
||||||
class textManager():
|
class textManager():
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
|
# https://regex101.com/
|
||||||
self.regExSingle = re.compile(r'(([^\w\s])\2{5,})')
|
self.regExSingle = re.compile(r'(([^\w\s])\2{5,})')
|
||||||
self.regExDouble = re.compile(r'([^\w\s]{2,}){5,}')
|
self.regExDouble = re.compile(r'([^\w\s]{2,}){5,}')
|
||||||
def initialize(self, environment):
|
def initialize(self, environment):
|
||||||
|
Loading…
Reference in New Issue
Block a user