Comments (3)
추가했으면 하는 기능 관련하여 이슈 생성하였습니다
#131
우선은 알려주신 방법을 활용하겠습니다. 감사합니다
from soynlp.
noun_dictionary
NewsNounExtractor
는 deprecated 할 예정입니다 ㅠㅜ
from soynlp.
용례를 보니, 아마도 사전에 정의된 명사를 이용하여 문장에서 명사만 추려내시려는 것으로 보입니다. 리팩 브랜치 (refactoring
) 의 코드의 사용법을 추천드립니다.
from soynlp.tokenizer import NounMatchTokenizer
noun_scores = {'아이': 0.5, '아이오': 0.7, '아이오아이': 0.8, '오이': 0.7}
noun_tokenizer = NounMatchTokenizer(noun_scores)
sentence = '아이오아이의아이들은 오이오이를 좋아하는 아이들이오'
noun_tokenizer.tokenize(sentence)
['아이오아이', '아이', '오이오이', '아이']
from soynlp.
Related Issues (20)
- WordExtractor refactoring
- PMI refactoring HOT 1
- Bigram refactoring HOT 1
- PMI 함수의 위치 변경
- Normalizer refactoring
- CI 적용
- NewsNounExtractor 내 지역 변수 선언 관련 오류 HOT 1
- 명사 추출기에서 기구축된 사전을 base dictionary로 활용 HOT 1
- vectorizer 가 있으면 편리할 것 같습니다.
- 규칙기반 명사 추출 후처리 기능을 선택적으로 이용할 수 있으면 편리할 듯 합니다.
- 데이터프레임에서 특정 컬럼값 적용시 local변수 에러 발생..
- emoticon_normalize 관련 문제
- sent_to_word_contexts_matrix 내 dynamic_weight 관련 문제 HOT 6
- noun_extractor 문의
- postagger refactoring
- vectorizer refactoring
- tokenizer refactoring
- poetry, pre-commit 도입
- _noun_postprocessing.py 에서 josapath, suffixpath 코드 수정 건의
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from soynlp.