From b2f31fde39b48b8612c4c846ad9ab8375fbabed7 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Tue, 27 Sep 2016 11:19:12 -0400 Subject: [PATCH] Added punctuation to the punctuation manager. --- src/fenrir-package/core/punctuationManager.py | 33 +++++++++++++++++-- 1 file changed, 31 insertions(+), 2 deletions(-) diff --git a/src/fenrir-package/core/punctuationManager.py b/src/fenrir-package/core/punctuationManager.py index 4d96f38b..d78d5b99 100644 --- a/src/fenrir-package/core/punctuationManager.py +++ b/src/fenrir-package/core/punctuationManager.py @@ -20,8 +20,37 @@ class punctuationManager(): '3':'.,', }, 'punctuationDict':{ - '.':'punkt', - ',':'komma' + '&':'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', + ';':'simi colon', + '/':'slash', + '*':'star', + '~':'tilde', + '_':'line', }, 'customDict':{ 'chrys':'awsome',