Skip to content

Mention about output format in the README#236

Closed
midnight-wonderer wants to merge 1 commit intoWorksApplications:developfrom
midnight-wonderer:chore/explain-output-format
Closed

Mention about output format in the README#236
midnight-wonderer wants to merge 1 commit intoWorksApplications:developfrom
midnight-wonderer:chore/explain-output-format

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.

@mh-northlander mh-northlander self-requested a review October 15, 2024 08:08
Copy link
Contributor

@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.

@mh-northlander
Copy link
Contributor

Close this and update readme in another PR.

@mh-northlander mh-northlander mentioned this pull request Nov 5, 2024
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