From 0556c5fe3113b6aebb75b62022598ef8100d47d8 Mon Sep 17 00:00:00 2001 From: t-yamamura Date: Mon, 4 Jan 2021 11:20:33 +0900 Subject: [PATCH] Fix print_all option --- sudachipy/command_line.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sudachipy/command_line.py b/sudachipy/command_line.py index 7179ec7..6f4bf4a 100644 --- a/sudachipy/command_line.py +++ b/sudachipy/command_line.py @@ -70,7 +70,7 @@ def run(tokenizer, mode, input_, print_all, stdot_logger, enable_dump): m.dictionary_form(), m.reading_form(), str(m.dictionary_id()), - '[{}]'.format(','.join([str(synonym_group_id) for synonym_group_id in m.synonym_group_ids]))] + '[{}]'.format(','.join([str(synonym_group_id) for synonym_group_id in m.synonym_group_ids()]))] if m.is_oov(): list_info.append("(OOV)") stdot_logger.info("\t".join(list_info))