From 735380641c36bda0d199209c6301cadeef8b61f9 Mon Sep 17 00:00:00 2001 From: nobu-g Date: Sun, 20 Aug 2023 20:30:25 +0900 Subject: [PATCH] hotfix --- src/rhoknp/processors/kwja.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rhoknp/processors/kwja.py b/src/rhoknp/processors/kwja.py index bbcbdd1f..da3d4329 100644 --- a/src/rhoknp/processors/kwja.py +++ b/src/rhoknp/processors/kwja.py @@ -56,7 +56,7 @@ def __init__( self._proc = Popen(self.run_command, stdin=PIPE, stdout=PIPE, stderr=PIPE, encoding="utf-8") if skip_sanity_check is False: # TODO: replace "あ" with an empty string after KWJA v2.2.0 is released - _ = self.apply(Document.from_raw_text("あ")) + _ = self.apply(Document.from_raw_text("こんにちは")) except Exception as e: logger.warning(f"failed to start KWJA: {e}")