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

같은 단어인데 다르게 태깅되는 이슈 (주로 한 단어 일때) #430

Open
hihissm opened this issue Aug 3, 2023 · 0 comments

Comments

@hihissm
Copy link

hihissm commented Aug 3, 2023

안녕하세요

#text = '축사용'
#text = '축사용 시스템'
print("Kkma 명사 추출:", kkma.nouns(text))
print("Kkma 형태소 추출:", kkma.pos(text))

이 코드로 '축사용'과 '축사용 시스템'의 품사를 알아보고 있는데요,

'축사용'은 축사 / 용 이렇게 분리하고
Kkma 형태소 추출: [('축사', 'NNG'), ('용', 'XSN')]

'축사용 시스템'은 축 / 사용 이렇게 분리하는것을 보았습니다.
Kkma 형태소 추출: [('축', 'NNG'), ('사용', 'NNG'), ('시스템', 'NNG')]

혹시 '축사용'과 '축사용 시스템' 모두에서 축사용 이라는 단어를 같은 방식으로 tokenize 한다든가 같은 품사로 태깅할 수는 없는건가요?

감사합니다.

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

No branches or pull requests

1 participant