From 072a5e6f6f6671cb4a63161de01372c723d4341b Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Fri, 20 May 2022 01:19:11 -0400 Subject: [PATCH] Changed the fixes to rhvoice into a rhvoice specific diectionary. --- config/punctuation/default.conf | 2 - config/punctuation/en.conf | 2 - config/punctuation/rhvoice-en.conf | 75 ++++++++++++++++++++++++++++++ 3 files changed, 75 insertions(+), 4 deletions(-) create mode 100644 config/punctuation/rhvoice-en.conf diff --git a/config/punctuation/default.conf b/config/punctuation/default.conf index a423d2b7..e90d9bf5 100644 --- a/config/punctuation/default.conf +++ b/config/punctuation/default.conf @@ -44,8 +44,6 @@ _:===:line =:===:equals [customDict] -nginx:===:EngineX -shit:===:shitt [emoticonDict] # This dictionary uses regexp when prefixed with "regex;", so be sure to escape anything that would be parsed by regexp, e.g. *, ., ^, $, etc. diff --git a/config/punctuation/en.conf b/config/punctuation/en.conf index fc0a69ad..8656411c 100644 --- a/config/punctuation/en.conf +++ b/config/punctuation/en.conf @@ -44,8 +44,6 @@ _:===:line =:===:equals [customDict] -nginx:===:EngineX -shit:===:shitt [emoticonDict] # This dictionary uses regexp when prefixed with "regex;", so be sure to escape anything that would be parsed by regexp, e.g. *, ., ^, $, etc. diff --git a/config/punctuation/rhvoice-en.conf b/config/punctuation/rhvoice-en.conf new file mode 100644 index 00000000..2bdb018b --- /dev/null +++ b/config/punctuation/rhvoice-en.conf @@ -0,0 +1,75 @@ +# how to use this file? +# the # on the beginning of the line is a comment +# the different sections are seperated by [Dict] is the section name. Dict is a keyword +# the entrys are seperated with :===: in words colon tripple equal colon ( to not collide with substitutions) +[levelDict] +none:===: +some:===:-$~+*-/\@ +most:===:.,:-$~+*-/\@!#%^&*()[]}{<>; +all:===:!"#$%& \'()*+,-./:;<=>?@[\\]^_`{|}~ + +[punctDict] + :===:space +&:===:and +':===:apostrophe +@:===:at +\:===:backslash +|:===:bar +!:===:bang +^:===:carrot +::===:colon +,:===:comma +-:===:dash +$:===:dollar +.:===:dot +>:===:greater +`:===:grave +#:===:hash +{:===:left brace +[:===:left bracket +(:===:left paren +<:===:less +%:===:percent ++:===:plus +?:===:question? +":===:quote +):===:right paren +}:===:right brace +]:===:right bracket +;:===:semicolon +/:===:slash +*:===:star +~:===:tilde +_:===:line +=:===:equals + +[customDict] +certificate:===:certifficate +nginx:===:EngineX +shit:===:shitt + +[emoticonDict] +# This dictionary uses regexp when prefixed with "regex;", so be sure to escape anything that would be parsed by regexp, e.g. *, ., ^, $, etc. +regex;[\s*|'|"][\s*|'|"]<{-.-}>:===:Raves +regex;[\s*|'|"][\s*|'|"]8-\):===:smile with sunglasses +regex;[\s*|'|"][\s*|'|"]:-/:===:confused +regex;[\s*|'|"][\s*|'|"]-\.-:===:bugged +regex;[\s*|'|"][\s*|'|"]>\.<:===:laughing +regex;[\s*|'|"][\s*|'|"]8-X:===:skull +regex;[\s*|'|"][\s*|'|"]>:\):===:evil smile +regex;[\s*|'|"][\s*|'|"]>:-\):===:evil smile +regex;[\s*|'|"][\s*|'|"]\\o/:===:Hurray +regex;[\s*|'|"][\s*|'|"]:/:===:confused +regex;[\s*|'|"]:D[\s*|'|"]:===:laugh +regex;[\s*|'|"];\)[\s*|'|"]:===:wink +regex;[\s*|'|"]XD[\s*|'|"]:===:LOL +regex;[\s*|'|"]:-\)[\s*|'|"]:===:smile +regex;[\s*|'|"]:\)[\s*|'|"]:===:smile +regex;[\s*|'|"]->[\s*|'|"]:===:arrow right +# example for arrow left +#(?:[ |^])(<-)(?:[ ,.!?$]):===:arrow left +# or +#([ |^])<-([ ,.!?$]):===:arrow left\2 +regex;[\s*|'|"]<-[\s*|'|"]:===:arrow left +regex;[\s+|'|"][O|o][O|o][\s+|'|"]:===:WTF? +regex;[\s*|'|"]\^\^[\s*|'|"]:===:enjoy smile