From e5b723a4b786c3e7d7534330bc618c517a59873f Mon Sep 17 00:00:00 2001 From: Kimsehwan96 Date: Thu, 4 Mar 2021 00:35:22 +0900 Subject: [PATCH] bugfix - remove static method's argument. cls --- pyjosa/josa.py | 4 ++-- setup.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pyjosa/josa.py b/pyjosa/josa.py index 46f4df1..b033b07 100644 --- a/pyjosa/josa.py +++ b/pyjosa/josa.py @@ -4,7 +4,7 @@ class Josa: @staticmethod - def get_josa(cls, string, josa) -> str: + def get_josa(string, josa) -> str: if (josa == '을') or (josa == '를'): return '을' if has_jongsung(string) else '를' @@ -22,7 +22,7 @@ def get_josa(cls, string, josa) -> str: raise Exception("올바르지 않은 조사.") @classmethod - def get_full_string(cls, string, josa) -> str: + def get_full_string(string, josa) -> str: if (josa == '을') or (josa == '를'): return string + '을' if has_jongsung(string) else string + '를' diff --git a/setup.py b/setup.py index 3a00e6b..e8d0842 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ setup( name = 'pyjosa', - version = '0.0.8', + version = '0.0.9', description = '한국어 조사 처리 패키지', author = 'sehwan.kim', author_email = 'sehwan.kim@ingkle.com',