diff --git a/Kudasai.py b/Kudasai.py index c7c9e7f..f5b1e3e 100644 --- a/Kudasai.py +++ b/Kudasai.py @@ -179,8 +179,8 @@ def replace(): ## defines the replace function replacement_rules = [ ## creates a list of tuples containing the replacement rules ('Punctuation', 'kutouten', False, None, None), ## tuple for replacing special words - ('Words','single_words',False,None,None), ('Phrases','phrases',False,None,None), + ('Words','single_words',False,None,None), ('Full Names', 'full_names', True,Names.ALL_NAMES, Names.FULL_NAME), ## tuple for replacing remaining names ('Single Names', 'single_names', True, Names.LAST_NAME, Names.LAST_NAME), ## tuple for replacing single names ('Name Like', 'name_like', True, Names.LAST_NAME, Names.NONE), ## tuple for replacing name-like words diff --git a/Replacements.json b/Replacements.json index fdd583a..6294cfd 100644 --- a/Replacements.json +++ b/Replacements.json @@ -3,9 +3,11 @@ "さん": "san", "くん": "kun", "ちゃん": "chan", + "せんぱい": "senpai", "君": "kun", "様": "sama", "先輩": "senpai", + "後輩": "kouhai", "先生": "sensei", "殿": "dono", "上": "ue", @@ -17,7 +19,24 @@ }, "phrases": { - "ホワイトルーム": "White Room" + }, + + "kutouten": { + "「": "\"", + "」": "\"", + "。": ".", + "、": ",", + "『": ">>", + "』": "<<", + "・": ".", + "―": "-" + }, + + "name_like": { + "お兄": "Onii", + "兄": "Nii", + "お姉": "Onee", + "姉": "Nee" }, "single_names": { @@ -29,7 +48,8 @@ "Kisarazu": "木更津", "Souya": "宗谷", "Ohba": "大場", - "Ishida": "石田" + "Ishida": "石田", + "Shiro": "志朗" }, "full_names": { @@ -305,20 +325,6 @@ "小橋", "夢" ] - }, - - "kutouten": { - "「": "\"", - "」": "\"", - "。": ".", - "、": ",", - "『": "«", - "』": "»" - }, - "name_like": { - "お兄": "Onii", - "兄": "Nii", - "お姉": "Onee", - "姉": "Nee" } + } \ No newline at end of file