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

When building a user dict, check number of fields #67

Open
polm opened this issue Dec 4, 2022 · 0 comments
Open

When building a user dict, check number of fields #67

polm opened this issue Dec 4, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@polm
Copy link
Owner

polm commented Dec 4, 2022

Originally brought up in octanove/janlpbook-code#1.

When building a user dictionary, it would be helpful to check the number of fields and warn or something when they don't match the system dictionary. This is a little tricky because MeCab doesn't actually parse any dictionary fields, so it's valid to just omit everything, for example. This is further complicated since dictionaries don't have explicit schemas. So this would require a bit of making assumptions and departing from the MeCab API, but it would help make more useful user dictionaries.

@polm polm added the enhancement New feature or request label Jun 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant