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
Metadata
Release files for UMorpheme 2.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| UMorpheme-2.0.0.tar.gz | 2.1 kB | Without provenance | Details for UMorpheme-2.0.0.tar.gz |
Release files / UMorpheme-2.0.0.tar.gz
| Download URL | UMorpheme-2.0.0.tar.gz |
|---|---|
| Size | 2.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
14ec0de301f332780205a0fc30c1e18869134188c03d0a55943585ed229a6a84
|
|
BLAKE2b-256 checksum How to use checksums |
3770208f2599020487d8c796d5c91f595222f3fdc2cbcaed72c3b20aeff58698
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for UMorpheme 2.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.