We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
먼저, 사용자 사전을 편리하게 구성할 수 있도록 해주신 노고에 감사드립니다.
제가 질문드리는 것은 큰 문제는 아닌데요.
예시를 따라해보다가 ngrams을 이용하여 복합 명사 혹은 여러 단어의 뭉치를 명사로 처리하는 과정에서 명사로 묶이지 않은 경우가 있어 질문드립니다. 코드는 아래와 같습니다.
-아래- ngrams = [(('헤일리', '스테인필드'), 'Noun'), ('피치','퍼펙트')] postprocessor = Postprocessor(twitter, ngrams = ngrams) f = postprocessor.pos('헤일리 스테인필드, 피치 퍼펙트') print(f)
결과 => [('헤일리', 'Noun'), ('스테', 'Noun'), ('인필드', 'Noun'), (',', 'Punctuation'), ('피치 - 퍼펙트', 'Noun')] 헤일리 스테인필드를 명사로 묶었음에도 불구하고 따로따로 나오더라구요.
혹시, 묶이지 않는 예외 경우가 있는지 궁금합니다. ^^
The text was updated successfully, but these errors were encountered:
No branches or pull requests
먼저, 사용자 사전을 편리하게 구성할 수 있도록 해주신 노고에 감사드립니다.
제가 질문드리는 것은 큰 문제는 아닌데요.
예시를 따라해보다가 ngrams을 이용하여 복합 명사 혹은 여러 단어의 뭉치를 명사로 처리하는 과정에서
명사로 묶이지 않은 경우가 있어 질문드립니다. 코드는 아래와 같습니다.
-아래-
ngrams = [(('헤일리', '스테인필드'), 'Noun'), ('피치','퍼펙트')]
postprocessor = Postprocessor(twitter, ngrams = ngrams)
f = postprocessor.pos('헤일리 스테인필드, 피치 퍼펙트')
print(f)
결과 => [('헤일리', 'Noun'), ('스테', 'Noun'), ('인필드', 'Noun'), (',', 'Punctuation'), ('피치 - 퍼펙트', 'Noun')]
헤일리 스테인필드를 명사로 묶었음에도 불구하고 따로따로 나오더라구요.
혹시, 묶이지 않는 예외 경우가 있는지 궁금합니다. ^^
The text was updated successfully, but these errors were encountered: