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

Mention about output format in the README #236

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

midnight-wonderer
Copy link

Hello there,
I tried Sudachi with -a; the problem is that the output has a weird number at the end for some inputs.

Like this:

開き	動詞,一般,*,*,五段-カ行,連用形-一般	開く	開く	ヒラキ	0	[22589]

It would be better if you mentioned something to help out new users in the README. Especially for users who are just Japanese learners.

I understand it is complicated with option flags and plugins. However, there should be a link to the relevant code so that people can understand it better.

Copy link
Collaborator

@mh-northlander mh-northlander left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for pointing out that the readme is not updated.

Since the SimpleMorphemeFormatter class defines the default behavior of the Sudachi CLI tool, I would rather want to update line 74 (and l.409) instead.

Now with the -a option, Sudachi additionally prints: the dictionary form, the reading form, the dictionary id, list of synonym group ids and OOV flag if it is so.

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

Successfully merging this pull request may close these issues.

2 participants