debug mode (`-d` option) does not work in the python version
Opened this issue · 1 comments
Nishihara-Daiki commented
A help describes that -d
option "print the bebug information":
$ sudachipy tokenize -h
usage: sudachipy tokenize [-h] [-r file] [-m {A,B,C}] [-o file] [-s string] [-a] [-d] [-v] [file ...]
Tokenize Text
positional arguments:
file text written in utf-8
options:
-h, --help show this help message and exit
-r file the setting file in JSON format
-m {A,B,C} the mode of splitting
-o file the output file
-s string sudachidict type
-a print all of the fields
-d print the debug information
-v, --version print sudachipy version
but, it doesn't actually work:
$ echo '外国人参政権' | sudachipy
外国人参政権 名詞,普通名詞,一般,*,*,* 外国人参政権
EOS
$ echo '外国人参政権' | sudachipy -d
外国人参政権 名詞,普通名詞,一般,*,*,* 外国人参政権
EOS
mh-northlander commented
-d
option is not implemented for the python version now (#207).
maybe we should raise warnings on its use.