Skip to main content

Online Korean Morpheme Analyzer with Eunjeon Hannip Project(eunjeon.blogspot.kr). Actually, this is for high school students who do not use the linux.

Project description

Online Korean Morpheme Analyzer with Eunjeon Hannip Project(eunjeon.blogspot.kr).
The function name 'Umorpheme' is an abbreviation of UNIST_morpheme
Actually, this is for high school students who do not use the linux.

== Acknowledgement ==
Ulsan National Institute of Science and Technology
School of Natural Science
Mathematical Sciences
http://math.unist.ac.kr

== Information ==
http://information.center/korean

== CODE ==
# -*- coding: utf8 -*-
import Umorpheme.morpheme as um
from collections import OrderedDict

s = '형태소 분석기 유몰핌입니다'
server = 'http://information.center/api/korean'
data = um.analyzer(s, server, '<API KEY>', '유몰핌,유니스트', 1)
"""
s, securitycode, nounlist, comp
:param s: Input Sentence
:param server: Server URL
:param API KEY: Receive your key at information.center/korean
:param nounlist: CUSTOM Noun list
:param comp: Compound noun 1:True, 0:False
:return: term order, data, feature
at UNIST Mathematical Sciences 2014.
"""
temp = {}
for key, value in data.items():
temp[int(key)] = value
data = OrderedDict(sorted(temp.items()))

for i, j in data.iteritems():
print i, j['data'], j['feature']


== RESULT ==
0 형태소 NNG
1 분석기 NNG
2 유몰핌 CUSTOM
3 입니다 VCP+EC

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for UMorpheme, version 2.0.0
Filename, size File type Python version Upload date Hashes
Filename, size UMorpheme-2.0.0.tar.gz (2.1 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page