diff --git a/config/settings/settings.conf.storm b/config/settings/settings.conf.storm index 33b23765..73fb9797 100644 --- a/config/settings/settings.conf.storm +++ b/config/settings/settings.conf.storm @@ -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= diff --git a/src/fenrirscreenreader/core/textManager.py b/src/fenrirscreenreader/core/textManager.py index 05633f30..f7e701c9 100644 --- a/src/fenrirscreenreader/core/textManager.py +++ b/src/fenrirscreenreader/core/textManager.py @@ -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):