Skip to content

Latest commit

 

History

History
35 lines (22 loc) · 833 Bytes

File metadata and controls

35 lines (22 loc) · 833 Bytes

Daon

Installation

pip install daon

Usage

from daon import Tagger
tagger = Tagger()

tagger.pos(u'네, 안녕하세요. 반갑습니다.')

# 추출 품사 지정
tagBit = tagger.makeTagBit(['N','SL','SH'])

tagger.pos(u'네, 안녕하세요. 반갑습니다.', includeBit=tagBit)

# 새로운 모델 적용 (모델 파일)
tagger = Tagger(model_path='/Users/mac/work/daon/daon-core/src/main/resources/daon/core/reader/model.dat')

# 새로운 모델 적용 (모델 url)
tagger = Tagger(url='http://localhost:5001/v1/model/download?seq=1514366867073')

품사(tag) 정보

참고

konlpy

konlpy py4j