sudachi.rs
sudachi.rs copied to clipboard
SudachiPy: "Print debug information" option for the tokenize subcommand
-d print the debug information
: It does not exist (yet)?
sudachipy tokenize --help
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
optional arguments:
-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
cf. pre-Rust version; https://github.com/WorksApplications/SudachiPy/blob/b244110e1f497763879fcfe9de48f5af3544897d/sudachipy/command_line.py#L153
Debug option is ignored at the moment. Use the Rust binary instead if you want debugging information as a workaround for the time being.
Depends on #76?