Skip to content

Commit

Permalink
NA로 태깅되는 결과가 자소 단위로 분리되어 출력되는 버그 수정 반영 related #23, #24
Browse files Browse the repository at this point in the history
  • Loading branch information
9bow committed Apr 18, 2019
1 parent 700278b commit 3dce966
Show file tree
Hide file tree
Showing 13 changed files with 71 additions and 67 deletions.
9 changes: 7 additions & 2 deletions java/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,15 @@ sourceCompatibility = '1.8'
repositories {
mavenCentral()
maven { url "https://jitpack.io" }
flatDir {
dirs 'libs'
}
}

dependencies {
compile 'com.github.shin285:KOMORAN:3.3.4'
// add released
// compile 'com.github.shin285:KOMORAN:3.3.4'
// add local file
compile name: 'KOMORAN-4e7b5ef'
compile 'net.sf.py4j:py4j:0.10.8.1'

}
1 change: 1 addition & 0 deletions java/libs
2 changes: 1 addition & 1 deletion python/PyKomoran/jvm.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def init_jvm(max_heap=1024, jar_path="./libs"):
return

libraries = [
'{0}{1}KOMORAN-3.3.4.jar',
'{0}{1}KOMORAN-4e7b5ef.jar',
'{0}{1}KOMORANEntryPoint-0.1.0.jar',
# '{0}{1}*'
]
Expand Down
Binary file removed python/PyKomoran/libs/KOMORAN-3.3.4.jar
Binary file not shown.
Binary file added python/PyKomoran/libs/KOMORAN-4e7b5ef.jar
Binary file not shown.
Binary file modified python/PyKomoran/models_full/irregular.model
Binary file not shown.
Binary file modified python/PyKomoran/models_full/observation.model
Binary file not shown.
63 changes: 31 additions & 32 deletions python/PyKomoran/models_full/pos.table
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
VV 0
VCN 1
NP 2
VX 2
VCP 3
VX 4
<end> 45
NP 4
NNB 5
NR 6
NNG 7
Expand All @@ -13,34 +12,34 @@ SE 10
SF 11
SH 12
XPN 13
SL 14
IC 15
XsV 16
<start> 17
SN 18
SO 19
SP 20
EC 21
JKB 22
SS 23
MM 24
EF 25
JKC 26
SW 27
JKG 28
XSA 29
BOE 14
SL 15
IC 16
EOE 44
SN 17
SO 18
SP 19
EC 20
JKB 21
SS 22
MM 23
EF 24
JKC 25
SW 26
JKG 27
XSA 28
VA 29
EP 30
VA 31
JKO 32
JKQ 33
JKO 31
JKQ 32
MAG 33
XSN 34
MAG 35
JKS 36
NA 37
JKV 38
MAJ 39
JC 40
XSV 41
XR 42
ETN 43
ETM 44
JKS 35
NA 36
JKV 37
MAJ 38
JC 39
XSV 40
XR 41
ETN 42
ETM 43
Binary file modified python/PyKomoran/models_full/transition.model
Binary file not shown.
Binary file modified python/PyKomoran/models_light/irregular.model
Binary file not shown.
Binary file modified python/PyKomoran/models_light/observation.model
Binary file not shown.
63 changes: 31 additions & 32 deletions python/PyKomoran/models_light/pos.table
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
VV 0
VCN 1
NP 2
VX 2
VCP 3
VX 4
<end> 45
NP 4
NNB 5
NR 6
NNG 7
Expand All @@ -13,34 +12,34 @@ SE 10
SF 11
SH 12
XPN 13
SL 14
IC 15
XsV 16
<start> 17
SN 18
SO 19
SP 20
EC 21
JKB 22
SS 23
MM 24
EF 25
JKC 26
SW 27
JKG 28
XSA 29
BOE 14
SL 15
IC 16
EOE 44
SN 17
SO 18
SP 19
EC 20
JKB 21
SS 22
MM 23
EF 24
JKC 25
SW 26
JKG 27
XSA 28
VA 29
EP 30
VA 31
JKO 32
JKQ 33
JKO 31
JKQ 32
MAG 33
XSN 34
MAG 35
JKS 36
NA 37
JKV 38
MAJ 39
JC 40
XSV 41
XR 42
ETN 43
ETM 44
JKS 35
NA 36
JKV 37
MAJ 38
JC 39
XSV 40
XR 41
ETN 42
ETM 43
Binary file modified python/PyKomoran/models_light/transition.model
Binary file not shown.

0 comments on commit 3dce966

Please sign in to comment.