Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SudachiPy: "Print debug information" option for the tokenize subcommand #207

Open
sorami opened this issue Feb 18, 2022 · 2 comments
Open
Labels
python Python binding-related

Comments

@sorami
Copy link
Collaborator

sorami commented Feb 18, 2022

-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

@eiennohito
Copy link
Collaborator

eiennohito commented Feb 19, 2022

Debug option is ignored at the moment. Use the Rust binary instead if you want debugging information as a workaround for the time being.

@eiennohito eiennohito added the python Python binding-related label Feb 19, 2022
@eiennohito
Copy link
Collaborator

Depends on #76?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
python Python binding-related
Projects
None yet
Development

No branches or pull requests

2 participants