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

Add access to more Node fields #76

Open
polm opened this issue Jun 7, 2023 · 0 comments · May be fixed by #84
Open

Add access to more Node fields #76

polm opened this issue Jun 7, 2023 · 0 comments · May be fixed by #84
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@polm
Copy link
Owner

polm commented Jun 7, 2023

From #75:

C. Could you also provide wrapper functions for other fields in mecab_node_t as well?
https://taku910.github.io/mecab/doxygen/structmecab__node__t.html
some of the attributes like right attribute id, left attribute id, word cost, best accumulative cost from bos node to this node, isbest, etc
are useful to figure out how the cost varies in a sentence, and maybe useful for adjusting the cost in user dic

I am not actively working on this, PRs are welcome. It should not be a big change. It will cause binary incompatibility if there are serialized Nodes for some reason, which I would recommend against.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant