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 PosID() Function for Retrieving MeCab's POS ID #37

Merged
merged 1 commit into from
Nov 17, 2023

Conversation

kmurata08
Copy link
Contributor

Dear shogo82148,

I hope this message finds you well. I am writing to propose a new feature for the go-mecab library, which I believe will enhance its functionality.

Feature Description:
The feature I've implemented is the PosID() function, which enables users to retrieve the Part-of-Speech (POS) ID from MeCab. This addition will provide developers with more flexibility and utility when working with MeCab in Go, especially for those dealing with advanced linguistic processing tasks.

Implementation Details:

  • The PosID() function accesses MeCab's internal POS ID for each token.
  • It returns the POS ID as an integer.

Thank you for considering my contribution. I look forward to your feedback.

Best regards,
kmurata08

Copy link
Owner

@shogo82148 shogo82148 left a comment

Choose a reason for hiding this comment

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

LGTM

thanks!

@shogo82148 shogo82148 merged commit cc619a8 into shogo82148:main Nov 17, 2023
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