Skip to content

Commit 2778641

Browse files
committed
0.1.6 Release, KOMORAN v3.3.9 및 Py4J v0.10.9.2 적용
1 parent 3b1a5e7 commit 2778641

11 files changed

+13
-13
lines changed

docs/requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ sphinx-rtd-theme==0.4.2
33
sphinx-sitemap==1.0.2
44
sphinxcontrib-napoleon
55
javasphinx==0.9.15
6-
py4j==0.10.8.1
6+
py4j==0.10.9.2
77
PyKomoran

java/build.gradle

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ repositories {
1414

1515
dependencies {
1616
// add released
17-
// compile 'com.github.shin285:KOMORAN:3.3.4'
17+
// compile 'com.github.shin285:KOMORAN:3.3.9'
1818
// add local file
19-
compile name: 'KOMORAN-4e7b5ef'
20-
compile 'net.sf.py4j:py4j:0.10.8.1'
19+
compile name: 'KOMORAN-3.3.9'
20+
compile 'net.sf.py4j:py4j:0.10.9.2'
2121
}

python/PyKomoran/__version__.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88
__title__ = 'PyKomoran'
99
__description__ = 'PyKomoran is Python wrapper for KOMORAN, KOrean MORphical ANalyzer.'
1010
__url__ = 'https://pydocs.komoran.kr'
11-
__version__ = '0.1.5'
11+
__version__ = '0.1.6'
1212
__author__ = 'Junghwan Park, Junsoo Shin, Geunho Lee'
1313
__author_email__ = '[email protected]'
1414
__license__ = 'Apache 2.0'
15-
__copyright__ = 'Copyright 2019 SHINEWARE'
15+
__copyright__ = 'Copyright 2021 SHINEWARE'
1616
__download_url__ = 'https://github.com/shineware/PyKOMORAN/releases/download/{0}/PyKomoran-{0}.tar.gz'.format(__version__)
1717
__keywords__ = 'KOMORAN, PyKomoran, KOrean MORphical ANalyzer, Morph Analyzer',

python/PyKomoran/jvm.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,13 @@ def init_jvm(max_heap=1024, jar_path="./libs"):
3131
return
3232

3333
libraries = [
34-
'{0}{1}KOMORAN-4e7b5ef.jar',
34+
'{0}{1}KOMORAN-3.3.9.jar',
3535
'{0}{1}KOMORANEntryPoint-0.1.6.jar',
3636
# '{0}{1}*'
3737
]
3838

3939
classpath = os.pathsep.join([lib.format(jar_path, os.sep) for lib in libraries])
40-
py4j_path = "{0}{1}py4j0.10.8.1.jar".format(jar_path, os.sep)
40+
py4j_path = "{0}{1}py4j-0.10.9.2.jar".format(jar_path, os.sep)
4141

4242
port = launch_gateway(jarpath=py4j_path,
4343
classpath=classpath,
5.82 MB
Binary file not shown.
-3.74 MB
Binary file not shown.

python/PyKomoran/tests/test_core.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ def test_to_analyze_get_plain_text():
151151

152152
assert isinstance(plain_text, str)
153153
assert len(plain_text) == 156
154-
assert plain_text == '①/SW 대한민국/NNP 은/JX 민주공화국/NNP 이/VCP 다/EF ./SF ②/SW 대한민국/NNP 의/JKG 주권/NNP 은/JX ' \
154+
assert plain_text == '①/SW 대한민국/NNP 은/JX 민주공화국/NNP 이/VCP 다/EF ./SF ②/SW 대한민국/NNP 의/JKG 주권/NNG 은/JX ' \
155155
'국민/NNG 에게/JKB 있/VV 고/EC ,/SP 모든/MM 권력/NNG 은/JX 국민/NNG 으로부터/JKB 나오/VV ㄴ다/EF ./SF'
156156

157157

@@ -359,7 +359,7 @@ def test_to_set_user_dic():
359359
assert isinstance(tokens[0], Token)
360360
assert tokens[0] == Token({
361361
'morph': '테스트',
362-
'pos': 'NNP',
362+
'pos': 'NNG',
363363
'beginIndex': 0,
364364
'endIndex': 3
365365
})

python/requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
py4j==0.10.8.1
1+
py4j==0.10.9.2

python/setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
]
1717

1818
install_requires = [
19-
'py4j==0.10.8.1',
19+
'py4j==0.10.9.2',
2020
]
2121

2222
tests_require = [

python/test-requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
coverage==4.5.3
22
nose==1.3.7
3-
py4j==0.10.8.1
3+
py4j==0.10.9.2

0 commit comments

Comments
 (0)