diff --git a/.gitignore b/.gitignore index 5f8e055..381d1ab 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ *.pyc +features_archive backup diff --git a/doc/evaluation_results.md b/doc/evaluation_results.md new file mode 100644 index 0000000..e13ae48 --- /dev/null +++ b/doc/evaluation_results.md @@ -0,0 +1,36 @@ + +##features version 1.0 ## + +Decision Tree +Total: 935 Finished: 935 Correct: 460 MicroAVG: 0.491979 MacroAVG: 0.522445 + +SVM +Total: 935 Finished: 935 Correct: 454 MicroAVG: 0.485561 MacroAVG: 0.552010 + +Max Entropy +Total: 935 Finished: 935 Correct: 654 MicroAVG: 0.699465 MacroAVG: 0.727580 + + + +## features verion 2.0 ## + +Decision Tree: +Total: 935 Finished: 935 Correct: 638 MicroAVG: 0.682353 MacroAVG: 0.719701 + +Naive Bayes: +Total: 935 Finished: 935 Correct: 665 MicroAVG: 0.711230 MacroAVG: 0.748701 + +SVM: +parameters: +- kernel function: 'rbf' +- C=1000.0 +- gamma=0.0001 + +Total: 935 Finished: 935 Correct: 687 MicroAVG: 0.734759 MacroAVG: 0.772213 + +Max Entropy: +parameters: +- optimize algorithm: 'iis' +- max_iter: 80 + +Total: 935 Finished: 935 Correct: 680 MicroAVG: 0.727273 MacroAVG: 0.757359 diff --git a/doc/report.docx b/doc/report.docx deleted file mode 100644 index 4b96c2c..0000000 Binary files a/doc/report.docx and /dev/null differ diff --git "a/doc/\346\261\211\350\257\255\350\257\215\344\271\211\346\266\210\345\262\220\345\256\236\351\252\214\346\212\245\345\221\212-\351\234\215\345\215\216\350\215\243-\350\203\241\350\205\276.pdf" "b/doc/\346\261\211\350\257\255\350\257\215\344\271\211\346\266\210\345\262\220\345\256\236\351\252\214\346\212\245\345\221\212-\351\234\215\345\215\216\350\215\243-\350\203\241\350\205\276.pdf" new file mode 100644 index 0000000..19f8b55 Binary files /dev/null and "b/doc/\346\261\211\350\257\255\350\257\215\344\271\211\346\266\210\345\262\220\345\256\236\351\252\214\346\212\245\345\221\212-\351\234\215\345\215\216\350\215\243-\350\203\241\350\205\276.pdf" differ diff --git "a/doc/\346\261\211\350\257\255\350\257\215\344\271\211\346\266\210\345\262\220\345\256\236\351\252\214\346\212\245\345\221\212\357\274\210PPT\357\274\211-\351\234\215\345\215\216\350\215\243-\350\203\241\350\205\276.docx" "b/doc/\346\261\211\350\257\255\350\257\215\344\271\211\346\266\210\345\262\220\345\256\236\351\252\214\346\212\245\345\221\212\357\274\210PPT\357\274\211-\351\234\215\345\215\216\350\215\243-\350\203\241\350\205\276.docx" new file mode 100644 index 0000000..a77c221 Binary files /dev/null and "b/doc/\346\261\211\350\257\255\350\257\215\344\271\211\346\266\210\345\262\220\345\256\236\351\252\214\346\212\245\345\221\212\357\274\210PPT\357\274\211-\351\234\215\345\215\216\350\215\243-\350\203\241\350\205\276.docx" differ diff --git "a/doc/\346\261\211\350\257\255\350\257\215\344\271\211\346\266\210\345\262\220\345\256\236\351\252\214\346\212\245\345\221\212\357\274\210PPT\357\274\211-\351\234\215\345\215\216\350\215\243-\350\203\241\350\205\276.pdf" "b/doc/\346\261\211\350\257\255\350\257\215\344\271\211\346\266\210\345\262\220\345\256\236\351\252\214\346\212\245\345\221\212\357\274\210PPT\357\274\211-\351\234\215\345\215\216\350\215\243-\350\203\241\350\205\276.pdf" new file mode 100644 index 0000000..78534c3 Binary files /dev/null and "b/doc/\346\261\211\350\257\255\350\257\215\344\271\211\346\266\210\345\262\220\345\256\236\351\252\214\346\212\245\345\221\212\357\274\210PPT\357\274\211-\351\234\215\345\215\216\350\215\243-\350\203\241\350\205\276.pdf" differ diff --git "a/doc/\346\261\211\350\257\255\350\257\215\344\271\211\346\266\210\345\262\220\345\256\236\351\252\214\346\212\245\345\221\212\357\274\210PPT\357\274\211-\351\234\215\345\215\216\350\215\243-\350\203\241\350\205\276.ppt" "b/doc/\346\261\211\350\257\255\350\257\215\344\271\211\346\266\210\345\262\220\345\256\236\351\252\214\346\212\245\345\221\212\357\274\210PPT\357\274\211-\351\234\215\345\215\216\350\215\243-\350\203\241\350\205\276.ppt" new file mode 100644 index 0000000..8dd8d18 Binary files /dev/null and "b/doc/\346\261\211\350\257\255\350\257\215\344\271\211\346\266\210\345\262\220\345\256\236\351\252\214\346\212\245\345\221\212\357\274\210PPT\357\274\211-\351\234\215\345\215\216\350\215\243-\350\203\241\350\205\276.ppt" differ diff --git a/result/DecisionTreeWSD_result.txt b/result/DecisionTreeWSD_result.txt index df0c0ce..6e24440 100644 --- a/result/DecisionTreeWSD_result.txt +++ b/result/DecisionTreeWSD_result.txt @@ -1,15 +1,15 @@ 中医 中医.1 traditional_Chinese_medical_science 中医 中医.2 practitioner_of_Chinese_medicine -中医 中医.3 practitioner_of_Chinese_medicine +中医 中医.3 traditional_Chinese_medical_science 中医 中医.4 practitioner_of_Chinese_medicine -中医 中医.5 practitioner_of_Chinese_medicine +中医 中医.5 traditional_Chinese_medical_science 中医 中医.6 traditional_Chinese_medical_science -中医 中医.7 practitioner_of_Chinese_medicine -中医 中医.8 practitioner_of_Chinese_medicine -中医 中医.9 practitioner_of_Chinese_medicine -中医 中医.10 practitioner_of_Chinese_medicine +中医 中医.7 traditional_Chinese_medical_science +中医 中医.8 traditional_Chinese_medical_science +中医 中医.9 traditional_Chinese_medical_science +中医 中医.10 traditional_Chinese_medical_science 中医 中医.11 practitioner_of_Chinese_medicine -中医 中医.12 traditional_Chinese_medical_science +中医 中医.12 practitioner_of_Chinese_medicine 中医 中医.13 practitioner_of_Chinese_medicine 中医 中医.14 practitioner_of_Chinese_medicine 中医 中医.15 practitioner_of_Chinese_medicine @@ -51,163 +51,163 @@ 儿女 儿女.19 children 儿女 儿女.20 children 出 出.1 produce -出 出.2 produce +出 出.2 out_of 出 出.3 out_of -出 出.4 produce +出 出.4 out_of 出 出.5 out_of -出 出.6 out_of -出 出.7 produce -出 出.8 produce -出 出.9 produce +出 出.6 produce +出 出.7 out_of +出 出.8 out_of +出 出.9 out_of 出 出.10 produce 出 出.11 produce -出 出.12 produce -出 出.13 produce -出 出.14 produce +出 出.12 give +出 出.13 happen +出 出.14 happen 出 出.15 happen 出 出.16 happen -出 出.17 produce +出 出.17 happen 出 出.18 come_appear -出 出.19 produce -出 出.20 produce -出 出.21 produce -出 出.22 publish +出 出.19 happen +出 出.20 give +出 出.21 happen +出 出.22 emit 出 出.23 come_appear -出 出.24 produce -出 出.25 come_out -出 出.26 produce -出 出.27 produce +出 出.24 happen +出 出.25 give +出 出.26 give +出 出.27 give 出 出.28 produce -出 出.29 produce -出 出.30 produce -出 出.31 produce -出 出.32 come_out -出 出.33 emit -出 出.34 produce -出 出.35 produce -出 出.36 produce -出 出.37 produce -出 出.38 produce -出 出.39 give -出 出.40 produce -出 出.41 produce -出 出.42 produce -出 出.43 publish -出 出.44 produce -出 出.45 publish -出 出.46 produce -出 出.47 produce +出 出.29 give +出 出.30 give +出 出.31 give +出 出.32 happen +出 出.33 out_of +出 出.34 give +出 出.35 out_of +出 出.36 give +出 出.37 happen +出 出.38 come_appear +出 出.39 come_out +出 出.40 emit +出 出.41 give +出 出.42 give +出 出.43 emit +出 出.44 give +出 出.45 happen +出 出.46 come_appear +出 出.47 come_appear 出 出.48 produce -出 出.49 produce +出 出.49 out_of 出 出.50 produce 出 出.51 produce 出 出.52 produce -出 出.53 produce +出 出.53 give 出 出.54 produce -出 出.55 produce -出 出.56 produce +出 出.55 come_appear +出 出.56 out_of 出 出.57 produce -出 出.58 produce -出 出.59 produce -出 出.60 produce +出 出.58 give +出 出.59 give +出 出.60 publish 出 出.61 publish -出 出.62 produce -出 出.63 produce +出 出.62 out_of +出 出.63 give 出 出.64 publish 出 出.65 produce 出 出.66 come_appear 出 出.67 come_appear 出 出.68 come_appear -出 出.69 happen +出 出.69 come_out 出 出.70 come_appear -出 出.71 produce -出 出.72 produce +出 出.71 happen +出 出.72 happen 出 出.73 produce -出 出.74 produce +出 出.74 give 出 出.75 produce -出 出.76 produce -出 出.77 produce +出 出.76 happen +出 出.77 happen 动 动.1 act -动 动.2 touch -动 动.3 touch -动 动.4 touch +动 动.2 act +动 动.3 act +动 动.4 off 动 动.5 act 动 动.6 touch 动 动.7 act -动 动.8 act -动 动.9 touch -动 动.10 touch +动 动.8 use +动 动.9 off +动 动.10 off 动 动.11 touch 动 动.12 touch -动 动.13 touch +动 动.13 act 动 动.14 off -动 动.15 touch +动 动.15 off 动 动.16 off -动 动.17 touch -动 动.18 touch -动 动.19 touch -动 动.20 touch -动摇 动摇.1 vacillate -动摇 动摇.2 vacillate -动摇 动摇.3 vacillate +动 动.17 act +动 动.18 act +动 动.19 off +动 动.20 act +动摇 动摇.1 shake +动摇 动摇.2 shake +动摇 动摇.3 shake 动摇 动摇.4 shake 动摇 动摇.5 shake 动摇 动摇.6 shake 动摇 动摇.7 shake 动摇 动摇.8 shake 动摇 动摇.9 vacillate -动摇 动摇.10 vacillate +动摇 动摇.10 shake 动摇 动摇.11 vacillate 动摇 动摇.12 vacillate 动摇 动摇.13 vacillate 动摇 动摇.14 vacillate 动摇 动摇.15 vacillate -动摇 动摇.16 shake -单位 单位.1 unit -单位 单位.2 unit -单位 单位.3 unit +动摇 动摇.16 vacillate +单位 单位.1 organization +单位 单位.2 organization +单位 单位.3 organization 单位 单位.4 organization -单位 单位.5 unit +单位 单位.5 organization 单位 单位.6 organization 单位 单位.7 unit -单位 单位.8 organization +单位 单位.8 unit 单位 单位.9 unit 单位 单位.10 unit 单位 单位.11 unit -单位 单位.12 unit +单位 单位.12 organization 单位 单位.13 unit 单位 单位.14 unit 单位 单位.15 unit 单位 单位.16 unit 单位 单位.17 unit -发 发.1 send -发 发.2 send -发 发.3 send -发 发.4 send +发 发.1 appear +发 发.2 appear +发 发.3 appear +发 发.4 appear 发 发.5 publish 发 发.6 send 发 发.7 send 发 发.8 send -发 发.9 express +发 发.9 appear 发 发.10 publish 发 发.11 send 发 发.12 send 发 发.13 send -发 发.14 send +发 发.14 occur 发 发.15 send -发 发.16 send +发 发.16 occur 发 发.17 express -发 发.18 send +发 发.18 express 发 发.19 express 发 发.20 express 发 发.21 express -发 发.22 send +发 发.22 express 发 发.23 express 发 发.24 express -发 发.25 send +发 发.25 express 发 发.26 express -发 发.27 express -发 发.28 send +发 发.27 publish +发 发.28 occur 发 发.29 send 发 发.30 send 发 发.31 send @@ -215,67 +215,67 @@ 发 发.33 send 发 发.34 send 发 发.35 send -发 发.36 express -叫 叫.1 cry -叫 叫.2 cry +发 发.36 appear +叫 叫.1 ask +叫 叫.2 ask 叫 叫.3 ask -叫 叫.4 call +叫 叫.4 ask 叫 叫.5 ask -叫 叫.6 call +叫 叫.6 ask 叫 叫.7 ask -叫 叫.8 call -叫 叫.9 call +叫 叫.8 name +叫 叫.9 cry 叫 叫.10 ask 叫 叫.11 name 叫 叫.12 cry 叫 叫.13 name -叫 叫.14 cry -叫 叫.15 cry -叫 叫.16 cry +叫 叫.14 name +叫 叫.15 name +叫 叫.16 name 叫 叫.17 call -叫 叫.18 cry +叫 叫.18 name 叫 叫.19 call -叫 叫.20 name +叫 叫.20 cry 叫 叫.21 cry 叫 叫.22 call -叫 叫.23 cry -叫 叫.24 cry -叫 叫.25 call +叫 叫.23 call +叫 叫.24 name +叫 叫.25 cry 叫 叫.26 call 叫 叫.27 call 叫 叫.28 call -叫 叫.29 cry -叫 叫.30 cry +叫 叫.29 name +叫 叫.30 ask 叫 叫.31 cry 叫 叫.32 cry 叫 叫.33 cry 叫 叫.34 cry -叫 叫.35 cry -叫 叫.36 cry -叫 叫.37 cry -叫 叫.38 cry +叫 叫.35 call +叫 叫.36 ask +叫 叫.37 ask +叫 叫.38 call 叫 叫.39 cry -吃 吃.1 wipe_out -吃 吃.2 wipe_out -吃 吃.3 wipe_out -吃 吃.4 wipe_out -吃 吃.5 wipe_out -吃 吃.6 wipe_out -吃 吃.7 wipe_out -吃 吃.8 wipe_out +吃 吃.1 suffer +吃 吃.2 eat +吃 吃.3 eat +吃 吃.4 eat +吃 吃.5 eat +吃 吃.6 eat +吃 吃.7 suffer +吃 吃.8 eat 吃 吃.9 eat -吃 吃.10 wipe_out +吃 吃.10 eat 吃 吃.11 live_on -吃 吃.12 suffer -吃 吃.13 wipe_out -吃 吃.14 wipe_out -吃 吃.15 wipe_out +吃 吃.12 live_on +吃 吃.13 eat +吃 吃.14 suffer +吃 吃.15 eat 吃 吃.16 eat 吃 吃.17 eat -吃 吃.18 suffer -吃 吃.19 wipe_out +吃 吃.18 live_on +吃 吃.19 suffer 吃 吃.20 suffer -吃 吃.21 wipe_out +吃 吃.21 eat 吃 吃.22 wipe_out 吃 吃.23 wipe_out 天地 天地.1 field_of_activity @@ -289,134 +289,134 @@ 天地 天地.9 field_of_activity 天地 天地.10 field_of_activity 天地 天地.11 heaven_and_earth -天地 天地.12 world -天地 天地.13 world -天地 天地.14 world -天地 天地.15 world -天地 天地.16 world -天地 天地.17 world -天地 天地.18 world +天地 天地.12 heaven_and_earth +天地 天地.13 heaven_and_earth +天地 天地.14 heaven_and_earth +天地 天地.15 heaven_and_earth +天地 天地.16 heaven_and_earth +天地 天地.17 heaven_and_earth +天地 天地.18 heaven_and_earth 天地 天地.19 heaven_and_earth 天地 天地.20 heaven_and_earth 天地 天地.21 world -天地 天地.22 world +天地 天地.22 heaven_and_earth 天地 天地.23 world 天地 天地.24 world -天地 天地.25 world -带 带.1 carry_with -带 带.2 wear +天地 天地.25 field_of_activity +带 带.1 instruct +带 带.2 have 带 带.3 wear -带 带.4 wear -带 带.5 wear -带 带.6 wear -带 带.7 wear -带 带.8 wear -带 带.9 wear -带 带.10 wear +带 带.4 have +带 带.5 carry_with +带 带.6 instruct +带 带.7 take +带 带.8 lead +带 带.9 lead +带 带.10 carry_with 带 带.11 lead -带 带.12 wear +带 带.12 instruct 带 带.13 promote -带 带.14 wear -带 带.15 wear -带 带.16 promote +带 带.14 lead +带 带.15 instruct +带 带.16 have 带 带.17 promote 带 带.18 instruct -带 带.19 take -带 带.20 wear -带 带.21 have +带 带.19 wear +带 带.20 lead +带 带.21 carry_with 带 带.22 have -带 带.23 wear -带 带.24 wear -带 带.25 take -带 带.26 wear -带 带.27 wear -带 带.28 wear -带 带.29 wear -带 带.30 have +带 带.23 have +带 带.24 have +带 带.25 carry_with +带 带.26 carry_with +带 带.27 instruct +带 带.28 take +带 带.29 promote +带 带.30 lead 带 带.31 take -带 带.32 wear -带 带.33 wear -带 带.34 wear -带 带.35 wear -带 带.36 wear -带 带.37 wear -带 带.38 and +带 带.32 lead +带 带.33 carry_with +带 带.34 carry_with +带 带.35 take +带 带.36 carry_with +带 带.37 carry_with +带 带.38 carry_with 带 带.39 carry_with -带 带.40 wear -带 带.41 wear -带 带.42 wear +带 带.40 carry_with +带 带.41 promote +带 带.42 promote 带 带.43 promote -带 带.44 instruct -带 带.45 wear -带 带.46 wear -带 带.47 wear +带 带.44 have +带 带.45 carry_with +带 带.46 carry_with +带 带.47 promote 带 带.48 promote 带 带.49 promote 带 带.50 promote 带 带.51 take -带 带.52 wear -带 带.53 take -带 带.54 wear -带 带.55 wear -带 带.56 wear -带 带.57 take -带 带.58 wear +带 带.52 instruct +带 带.53 carry_with +带 带.54 carry_with +带 带.55 lead +带 带.56 lead +带 带.57 carry_with +带 带.58 carry_with 带 带.59 wear -带 带.60 wear +带 带.60 carry_with 带 带.61 and -带 带.62 wear -带 带.63 wear +带 带.62 and +带 带.63 and 带 带.64 and -带 带.65 wear -带 带.66 wear -带 带.67 wear +带 带.65 carry_with +带 带.66 promote +带 带.67 have 平息 平息.1 put_down -平息 平息.2 subside -平息 平息.3 subside +平息 平息.2 put_down +平息 平息.3 put_down 平息 平息.4 put_down -平息 平息.5 subside +平息 平息.5 put_down 平息 平息.6 subside -平息 平息.7 subside -平息 平息.8 subside -开通 开通.1 go_into_operation -开通 开通.2 go_into_operation -开通 开通.3 go_into_operation -开通 开通.4 go_into_operation -开通 开通.5 go_into_operation +平息 平息.7 put_down +平息 平息.8 put_down +开通 开通.1 open +开通 开通.2 open +开通 开通.3 open +开通 开通.4 open +开通 开通.5 open 开通 开通.6 open -开通 开通.7 go_into_operation +开通 开通.7 open 开通 开通.8 go_into_operation -开通 开通.9 go_into_operation -开通 开通.10 go_into_operation +开通 开通.9 open +开通 开通.10 open 开通 开通.11 go_into_operation 开通 开通.12 go_into_operation 开通 开通.13 go_into_operation 开通 开通.14 go_into_operation -开通 开通.15 go_into_operation +开通 开通.15 open 开通 开通.16 go_into_operation 开通 开通.17 go_into_operation 开通 开通.18 go_into_operation -开通 开通.19 go_into_operation +开通 开通.19 open 开通 开通.20 go_into_operation -想 想.1 miss +想 想.1 think 想 想.2 want -想 想.3 miss -想 想.4 miss -想 想.5 miss -想 想.6 miss -想 想.7 think -想 想.8 miss +想 想.3 think +想 想.4 want +想 想.5 think +想 想.6 think +想 想.7 want +想 想.8 want 想 想.9 want 想 想.10 suppose -想 想.11 miss -想 想.12 miss +想 想.11 think +想 想.12 want 想 想.13 miss -想 想.14 miss +想 想.14 think 想 想.15 miss -想 想.16 miss +想 想.16 want 想 想.17 want 想 想.18 think -想 想.19 miss +想 想.19 think 想 想.20 miss 想 想.21 suppose 想 想.22 suppose @@ -432,145 +432,145 @@ 想 想.32 miss 想 想.33 miss 想 想.34 miss -想 想.35 miss +想 想.35 think 想 想.36 miss 想 想.37 miss -成立 成立.1 be_tenable -成立 成立.2 be_tenable -成立 成立.3 be_tenable -成立 成立.4 be_tenable -成立 成立.5 be_tenable -成立 成立.6 be_tenable -成立 成立.7 be_tenable +成立 成立.1 be_founded +成立 成立.2 be_founded +成立 成立.3 be_founded +成立 成立.4 establish +成立 成立.5 be_founded +成立 成立.6 be_founded +成立 成立.7 be_founded 成立 成立.8 be_founded -成立 成立.9 be_tenable -成立 成立.10 be_tenable -成立 成立.11 be_tenable -成立 成立.12 be_tenable -成立 成立.13 be_tenable +成立 成立.9 establish +成立 成立.10 establish +成立 成立.11 be_founded +成立 成立.12 be_founded +成立 成立.13 establish 成立 成立.14 establish -成立 成立.15 be_tenable -成立 成立.16 be_tenable +成立 成立.15 establish +成立 成立.16 establish 成立 成立.17 be_tenable -成立 成立.18 be_tenable -成立 成立.19 be_tenable -成立 成立.20 establish +成立 成立.18 establish +成立 成立.19 establish +成立 成立.20 be_tenable 成立 成立.21 be_tenable -成立 成立.22 be_tenable +成立 成立.22 be_founded 成立 成立.23 be_tenable 成立 成立.24 be_tenable 成立 成立.25 be_tenable -成立 成立.26 be_tenable +成立 成立.26 establish 成立 成立.27 be_tenable -挑 挑.1 raise -挑 挑.2 carry -挑 挑.3 raise -挑 挑.4 choose +挑 挑.1 choose +挑 挑.2 choose +挑 挑.3 carry +挑 挑.4 carry 挑 挑.5 choose -挑 挑.6 raise -挑 挑.7 raise +挑 挑.6 choose +挑 挑.7 choose 挑 挑.8 carry -挑 挑.9 raise -挑 挑.10 raise -挑 挑.11 raise -挑 挑.12 carry -挑 挑.13 raise +挑 挑.9 choose +挑 挑.10 carry +挑 挑.11 carry +挑 挑.12 choose +挑 挑.13 choose 挑 挑.14 raise -推翻 推翻.1 overthrow -推翻 推翻.2 overthrow -推翻 推翻.3 overthrow -推翻 推翻.4 overthrow -推翻 推翻.5 overthrow -推翻 推翻.6 overthrow +推翻 推翻.1 repudiate +推翻 推翻.2 repudiate +推翻 推翻.3 repudiate +推翻 推翻.4 repudiate +推翻 推翻.5 repudiate +推翻 推翻.6 repudiate 推翻 推翻.7 overthrow -推翻 推翻.8 overthrow -推翻 推翻.9 overthrow +推翻 推翻.8 repudiate +推翻 推翻.9 repudiate 推翻 推翻.10 overthrow 旗帜 旗帜.1 stand -旗帜 旗帜.2 banner -旗帜 旗帜.3 banner +旗帜 旗帜.2 stand +旗帜 旗帜.3 stand 旗帜 旗帜.4 stand 旗帜 旗帜.5 stand 旗帜 旗帜.6 stand -旗帜 旗帜.7 banner -旗帜 旗帜.8 banner +旗帜 旗帜.7 stand +旗帜 旗帜.8 stand 旗帜 旗帜.9 stand 旗帜 旗帜.10 stand 旗帜 旗帜.11 banner 旗帜 旗帜.12 banner 旗帜 旗帜.13 banner 旗帜 旗帜.14 model -旗帜 旗帜.15 banner +旗帜 旗帜.15 stand 旗帜 旗帜.16 stand 旗帜 旗帜.17 banner -旗帜 旗帜.18 stand +旗帜 旗帜.18 banner 日子 日子.1 day -日子 日子.2 life +日子 日子.2 date 日子 日子.3 life -日子 日子.4 life -日子 日子.5 life -日子 日子.6 life -日子 日子.7 life -日子 日子.8 life -日子 日子.9 day +日子 日子.4 day +日子 日子.5 date +日子 日子.6 date +日子 日子.7 day +日子 日子.8 day +日子 日子.9 life 日子 日子.10 date -日子 日子.11 life -日子 日子.12 life -日子 日子.13 life +日子 日子.11 day +日子 日子.12 date +日子 日子.13 day 日子 日子.14 life -日子 日子.15 life -日子 日子.16 life -日子 日子.17 life -日子 日子.18 life +日子 日子.15 day +日子 日子.16 day +日子 日子.17 date +日子 日子.18 day 日子 日子.19 life 日子 日子.20 life -日子 日子.21 life +日子 日子.21 day 日子 日子.22 life -日子 日子.23 life -日子 日子.24 day +日子 日子.23 date +日子 日子.24 life 日子 日子.25 life 日子 日子.26 life -日子 日子.27 life +日子 日子.27 date 日子 日子.28 life 日子 日子.29 life -日子 日子.30 life +日子 日子.30 date 日子 日子.31 life 日子 日子.32 life -望 望.1 hope +望 望.1 gaze 望 望.2 hope -望 望.3 hope +望 望.3 gaze 望 望.4 gaze 望 望.5 gaze -望 望.6 hope +望 望.6 gaze 望 望.7 gaze 望 望.8 gaze -望 望.9 hope -望 望.10 hope -望 望.11 hope -望 望.12 hope -望 望.13 hope -本 本.1 capital +望 望.9 gaze +望 望.10 gaze +望 望.11 gaze +望 望.12 gaze +望 望.13 gaze +本 本.1 foundation 本 本.2 book 本 本.3 book -本 本.4 capital -本 本.5 capital +本 本.4 book +本 本.5 book 本 本.6 book 本 本.7 book -本 本.8 capital +本 本.8 foundation 本 本.9 book 本 本.10 book 本 本.11 foundation 本 本.12 foundation -本 本.13 foundation +本 本.13 capital 本 本.14 foundation 本 本.15 foundation 本 本.16 foundation -本 本.17 foundation +本 本.17 capital 本 本.18 foundation 本 本.19 capital 本 本.20 foundation 本 本.21 capital -本 本.22 book +本 本.22 capital 本 本.23 capital 本 本.24 capital 本 本.25 capital @@ -589,33 +589,33 @@ 机组 机组.13 set_of_machines 机组 机组.14 set_of_machines 气息 气息.1 smell -气息 气息.2 smell +气息 气息.2 spirit 气息 气息.3 smell 气息 气息.4 smell -气息 气息.5 smell +气息 气息.5 spirit 气息 气息.6 smell -气息 气息.7 smell +气息 气息.7 spirit 气息 气息.8 spirit 气息 气息.9 spirit -气息 气息.10 smell +气息 气息.10 spirit 气息 气息.11 smell -气息 气息.12 smell +气息 气息.12 spirit 气息 气息.13 smell 气息 气息.14 smell 气象 气象.1 meteorology -气象 气象.2 atmosphere -气象 气象.3 atmosphere +气象 气象.2 meteorology +气象 气象.3 meteorology 气象 气象.4 meteorology -气象 气象.5 atmosphere -气象 气象.6 atmosphere -气象 气象.7 atmosphere -气象 气象.8 atmosphere +气象 气象.5 meteorology +气象 气象.6 meteorology +气象 气象.7 meteorology +气象 气象.8 meteorology 气象 气象.9 meteorology -气象 气象.10 atmosphere +气象 气象.10 meteorology 气象 气象.11 atmosphere 气象 气象.12 meteorology 气象 气象.13 meteorology -气象 气象.14 atmosphere +气象 气象.14 meteorology 气象 气象.15 atmosphere 气象 气象.16 atmosphere 牌子 牌子.1 brand @@ -624,97 +624,97 @@ 牌子 牌子.4 plate 牌子 牌子.5 plate 牌子 牌子.6 plate -牌子 牌子.7 plate -牌子 牌子.8 plate +牌子 牌子.7 brand +牌子 牌子.8 brand 牌子 牌子.9 brand 牌子 牌子.10 plate -牌子 牌子.11 plate -牌子 牌子.12 plate +牌子 牌子.11 brand +牌子 牌子.12 brand 牌子 牌子.13 plate 牌子 牌子.14 brand 牌子 牌子.15 plate -牌子 牌子.16 plate -牌子 牌子.17 plate +牌子 牌子.16 brand +牌子 牌子.17 brand 看 看.1 depend_on 看 看.2 depend_on 看 看.3 depend_on -看 看.4 depend_on -看 看.5 depend_on +看 看.4 consider +看 看.5 consider 看 看.6 depend_on 看 看.7 depend_on 看 看.8 depend_on -看 看.9 consider +看 看.9 depend_on 看 看.10 depend_on 看 看.11 depend_on 看 看.12 consider -看 看.13 consider -看 看.14 see -看 看.15 consider -看 看.16 consider -看 看.17 consider -看 看.18 see +看 看.13 depend_on +看 看.14 consider +看 看.15 depend_on +看 看.16 depend_on +看 看.17 see +看 看.18 depend_on 看 看.19 consider -看 看.20 consider +看 看.20 see 看 看.21 think 看 看.22 think 看 看.23 think 看 看.24 think 看 看.25 consider -看 看.26 consider +看 看.26 depend_on 看 看.27 depend_on -看 看.28 consider +看 看.28 depend_on 看 看.29 consider -看 看.30 consider -看 看.31 consider +看 看.30 depend_on +看 看.31 think 看 看.32 consider -看 看.33 consider +看 看.33 depend_on 看 看.34 consider -眼光 眼光.1 eye +眼光 眼光.1 foresight 眼光 眼光.2 foresight -眼光 眼光.3 eye +眼光 眼光.3 foresight 眼光 眼光.4 eye -眼光 眼光.5 eye -眼光 眼光.6 eye -眼光 眼光.7 eye -眼光 眼光.8 eye +眼光 眼光.5 foresight +眼光 眼光.6 foresight +眼光 眼光.7 foresight +眼光 眼光.8 foresight 眼光 眼光.9 eye -眼光 眼光.10 eye -眼光 眼光.11 eye -眼光 眼光.12 eye -眼光 眼光.13 eye -眼光 眼光.14 eye +眼光 眼光.10 foresight +眼光 眼光.11 foresight +眼光 眼光.12 foresight +眼光 眼光.13 foresight +眼光 眼光.14 foresight 菜 菜.1 vegetable 菜 菜.2 vegetable -菜 菜.3 dish -菜 菜.4 dish -菜 菜.5 dish +菜 菜.3 vegetable +菜 菜.4 vegetable +菜 菜.5 vegetable 菜 菜.6 vegetable -菜 菜.7 dish -菜 菜.8 dish -菜 菜.9 dish +菜 菜.7 vegetable +菜 菜.8 vegetable +菜 菜.9 vegetable 菜 菜.10 vegetable 菜 菜.11 dish -菜 菜.12 dish -菜 菜.13 dish -菜 菜.14 dish +菜 菜.12 vegetable +菜 菜.13 vegetable +菜 菜.14 vegetable 菜 菜.15 dish 菜 菜.16 dish -菜 菜.17 dish -菜 菜.18 dish -菜 菜.19 dish +菜 菜.17 vegetable +菜 菜.18 vegetable +菜 菜.19 vegetable 补 补.1 repair 补 补.2 supply -补 补.3 repair -补 补.4 nourish -补 补.5 nourish -补 补.6 nourish -补 补.7 nourish -补 补.8 nourish -补 补.9 nourish -补 补.10 nourish -补 补.11 nourish -补 补.12 supply -补 补.13 nourish +补 补.3 supply +补 补.4 supply +补 补.5 supply +补 补.6 supply +补 补.7 supply +补 补.8 supply +补 补.9 supply +补 补.10 supply +补 补.11 supply +补 补.12 nourish +补 补.13 supply 补 补.14 nourish 补 补.15 nourish 补 补.16 nourish @@ -724,12 +724,12 @@ 补 补.20 nourish 表面 表面.1 appearance 表面 表面.2 appearance -表面 表面.3 face +表面 表面.3 appearance 表面 表面.4 face 表面 表面.5 appearance 表面 表面.6 face 表面 表面.7 face -表面 表面.8 face +表面 表面.8 appearance 表面 表面.9 face 表面 表面.10 face 表面 表面.11 appearance @@ -743,14 +743,14 @@ 说明 说明.1 show 说明 说明.2 show 说明 说明.3 explain -说明 说明.4 explain +说明 说明.4 show 说明 说明.5 show 说明 说明.6 explain -说明 说明.7 explain +说明 说明.7 show 说明 说明.8 explain 说明 说明.9 explain 说明 说明.10 show -说明 说明.11 explain +说明 说明.11 show 说明 说明.12 explain 说明 说明.13 explain 说明 说明.14 explain @@ -759,57 +759,57 @@ 说明 说明.17 explain 说明 说明.18 explain 赶 赶.1 rush_for -赶 赶.2 happen_to -赶 赶.3 happen_to -赶 赶.4 happen_to -赶 赶.5 happen_to -赶 赶.6 happen_to -赶 赶.7 happen_to -赶 赶.8 happen_to -赶 赶.9 happen_to -赶 赶.10 happen_to +赶 赶.2 rush_for +赶 赶.3 rush_for +赶 赶.4 rush_for +赶 赶.5 drive +赶 赶.6 rush_for +赶 赶.7 rush_for +赶 赶.8 rush_for +赶 赶.9 rush_for +赶 赶.10 rush_for 赶 赶.11 drive -赶 赶.12 happen_to -赶 赶.13 happen_to -赶 赶.14 happen_to -赶 赶.15 happen_to +赶 赶.12 rush_for +赶 赶.13 drive +赶 赶.14 rush_for +赶 赶.15 drive 赶 赶.16 happen_to 赶 赶.17 happen_to 赶 赶.18 happen_to -进 进.1 move -进 进.2 move -进 进.3 buy_in -进 进.4 move -进 进.5 move -进 进.6 move -进 进.7 move -进 进.8 move -进 进.9 move -进 进.10 buy_in -进 进.11 move -进 进.12 move_forward -进 进.13 move -进 进.14 move +进 进.1 into +进 进.2 into +进 进.3 move_forward +进 进.4 into +进 进.5 into +进 进.6 into +进 进.7 into +进 进.8 into +进 进.9 into +进 进.10 move_forward +进 进.11 buy_in +进 进.12 enter +进 进.13 into +进 进.14 enter 进 进.15 enter 进 进.16 enter -进 进.17 move -进 进.18 move -进 进.19 move +进 进.17 into +进 进.18 enter +进 进.19 enter 进 进.20 move -进 进.21 move -进 进.22 move +进 进.21 move_forward +进 进.22 enter 进 进.23 move_forward 进 进.24 move 进 进.25 move -进 进.26 move -进 进.27 move +进 进.26 enter +进 进.27 move_forward 进 进.28 move_forward -进 进.29 buy_in -进 进.30 move -进 进.31 move -进 进.32 move_forward -进 进.33 move -进 进.34 move +进 进.29 move_forward +进 进.30 move_forward +进 进.31 buy_in +进 进.32 enter +进 进.33 enter +进 进.34 buy_in 进 进.35 move 进 进.36 move 进 进.37 move @@ -821,51 +821,51 @@ 进 进.43 move 进 进.44 move 道 道.1 technique -道 道.2 doctrine -道 道.3 doctrine -道 道.4 doctrine -道 道.5 doctrine +道 道.2 technique +道 道.3 road +道 道.4 technique +道 道.5 road 道 道.6 technique 道 道.7 road 道 道.8 road 道 道.9 road -道 道.10 doctrine -道 道.11 doctrine -道 道.12 doctrine +道 道.10 road +道 道.11 road +道 道.12 road 道 道.13 doctrine -道 道.14 doctrine -道 道.15 doctrine +道 道.14 road +道 道.15 road 道 道.16 doctrine -道 道.17 doctrine -道 道.18 doctrine -镜头 镜头.1 lens -镜头 镜头.2 lens +道 道.17 road +道 道.18 road +镜头 镜头.1 shot +镜头 镜头.2 shot 镜头 镜头.3 lens 镜头 镜头.4 lens -镜头 镜头.5 lens +镜头 镜头.5 shot 镜头 镜头.6 shot 镜头 镜头.7 shot 镜头 镜头.8 shot -镜头 镜头.9 shot -镜头 镜头.10 shot -镜头 镜头.11 shot -镜头 镜头.12 lens -镜头 镜头.13 shot -镜头 镜头.14 lens +镜头 镜头.9 lens +镜头 镜头.10 lens +镜头 镜头.11 lens +镜头 镜头.12 shot +镜头 镜头.13 lens +镜头 镜头.14 shot 镜头 镜头.15 lens -长城 长城.1 the_Great_Wall -长城 长城.2 impregnable_bulwark +长城 长城.1 impregnable_bulwark +长城 长城.2 ChangCheng 长城 长城.3 impregnable_bulwark -长城 长城.4 impregnable_bulwark +长城 长城.4 the_Great_Wall 长城 长城.5 the_Great_Wall -长城 长城.6 impregnable_bulwark -长城 长城.7 impregnable_bulwark -长城 长城.8 impregnable_bulwark -长城 长城.9 impregnable_bulwark +长城 长城.6 the_Great_Wall +长城 长城.7 the_Great_Wall +长城 长城.8 the_Great_Wall +长城 长城.9 the_Great_Wall 长城 长城.10 the_Great_Wall 长城 长城.11 the_Great_Wall -长城 长城.12 impregnable_bulwark -长城 长城.13 impregnable_bulwark +长城 长城.12 the_Great_Wall +长城 长城.13 ChangCheng 长城 长城.14 impregnable_bulwark 长城 长城.15 ChangCheng 长城 长城.16 ChangCheng @@ -874,32 +874,32 @@ 长城 长城.19 impregnable_bulwark 长城 长城.20 impregnable_bulwark 长城 长城.21 impregnable_bulwark -队伍 队伍.1 troops +队伍 队伍.1 contingent 队伍 队伍.2 ranks -队伍 队伍.3 troops -队伍 队伍.4 troops -队伍 队伍.5 ranks -队伍 队伍.6 contingent -队伍 队伍.7 troops -队伍 队伍.8 troops -队伍 队伍.9 troops +队伍 队伍.3 contingent +队伍 队伍.4 contingent +队伍 队伍.5 contingent +队伍 队伍.6 ranks +队伍 队伍.7 ranks +队伍 队伍.8 contingent +队伍 队伍.9 contingent 队伍 队伍.10 troops 队伍 队伍.11 ranks -队伍 队伍.12 troops +队伍 队伍.12 contingent 队伍 队伍.13 ranks -队伍 队伍.14 troops -队伍 队伍.15 troops -队伍 队伍.16 troops -队伍 队伍.17 troops +队伍 队伍.14 contingent +队伍 队伍.15 contingent +队伍 队伍.16 ranks +队伍 队伍.17 contingent 队伍 队伍.18 ranks 队伍 队伍.19 ranks -队伍 队伍.20 troops +队伍 队伍.20 ranks 队伍 队伍.21 troops -队伍 队伍.22 troops -震惊 震惊.1 be_shocked +队伍 队伍.22 contingent +震惊 震惊.1 shock 震惊 震惊.2 be_shocked -震惊 震惊.3 be_shocked -震惊 震惊.4 be_shocked +震惊 震惊.3 shock +震惊 震惊.4 shock 震惊 震惊.5 be_shocked 震惊 震惊.6 be_shocked 震惊 震惊.7 be_shocked @@ -910,20 +910,20 @@ 震惊 震惊.12 be_shocked 震惊 震惊.13 be_shocked 震惊 震惊.14 be_shocked -面 面.1 surface -面 面.2 surface -面 面.3 surface +面 面.1 face +面 面.2 face +面 面.3 face 面 面.4 face -面 面.5 surface -面 面.6 surface -面 面.7 flour +面 面.5 face +面 面.6 face +面 面.7 face 面 面.8 face -面 面.9 surface -面 面.10 surface -面 面.11 surface -面 面.12 surface -面 面.13 surface -面 面.14 surface +面 面.9 face +面 面.10 face +面 面.11 face +面 面.12 face +面 面.13 flour +面 面.14 face 面 面.15 surface 面 面.16 surface 面 面.17 surface @@ -931,5 +931,5 @@ 面 面.19 surface 面 面.20 surface 面 面.21 surface -面 面.22 surface +面 面.22 face 面 面.23 surface diff --git a/result/MaxEntropyWSD_result.txt b/result/MaxEntropyWSD_result.txt index 24c506c..7e1a381 100644 --- a/result/MaxEntropyWSD_result.txt +++ b/result/MaxEntropyWSD_result.txt @@ -32,7 +32,7 @@ 使 使.16 make 儿女 儿女.1 young_man_and_woman 儿女 儿女.2 young_man_and_woman -儿女 儿女.3 children +儿女 儿女.3 young_man_and_woman 儿女 儿女.4 young_man_and_woman 儿女 儿女.5 young_man_and_woman 儿女 儿女.6 young_man_and_woman @@ -49,7 +49,7 @@ 儿女 儿女.17 children 儿女 儿女.18 children 儿女 儿女.19 children -儿女 儿女.20 children +儿女 儿女.20 young_man_and_woman 出 出.1 out_of 出 出.2 out_of 出 出.3 produce @@ -59,8 +59,8 @@ 出 出.7 out_of 出 出.8 produce 出 出.9 produce -出 出.10 happen -出 出.11 give +出 出.10 produce +出 出.11 produce 出 出.12 publish 出 出.13 happen 出 出.14 happen @@ -74,18 +74,18 @@ 出 出.22 publish 出 出.23 come_appear 出 出.24 come_out -出 出.25 come_out +出 出.25 produce 出 出.26 come_appear 出 出.27 come_out 出 出.28 publish 出 出.29 produce 出 出.30 happen 出 出.31 give -出 出.32 come_out +出 出.32 produce 出 出.33 give 出 出.34 happen 出 出.35 out_of -出 出.36 come_out +出 出.36 produce 出 出.37 give 出 出.38 give 出 出.39 give @@ -93,32 +93,32 @@ 出 出.41 publish 出 出.42 emit 出 出.43 emit -出 出.44 come_out +出 出.44 produce 出 出.45 publish -出 出.46 produce -出 出.47 produce +出 出.46 publish +出 出.47 publish 出 出.48 produce 出 出.49 produce -出 出.50 produce +出 出.50 out_of 出 出.51 produce 出 出.52 produce 出 出.53 produce 出 出.54 produce -出 出.55 come_appear +出 出.55 publish 出 出.56 out_of 出 出.57 produce -出 出.58 come_out +出 出.58 publish 出 出.59 happen 出 出.60 publish -出 出.61 give -出 出.62 out_of +出 出.61 publish +出 出.62 come_appear 出 出.63 publish 出 出.64 publish 出 出.65 produce 出 出.66 come_out 出 出.67 come_appear 出 出.68 come_appear -出 出.69 come_appear +出 出.69 give 出 出.70 come_appear 出 出.71 produce 出 出.72 give @@ -126,7 +126,7 @@ 出 出.74 publish 出 出.75 produce 出 出.76 publish -出 出.77 happen +出 出.77 publish 动 动.1 act 动 动.2 act 动 动.3 act @@ -135,7 +135,7 @@ 动 动.6 touch 动 动.7 act 动 动.8 use -动 动.9 off +动 动.9 act 动 动.10 off 动 动.11 touch 动 动.12 use @@ -146,7 +146,7 @@ 动 动.17 act 动 动.18 touch 动 动.19 act -动 动.20 act +动 动.20 off 动摇 动摇.1 shake 动摇 动摇.2 shake 动摇 动摇.3 shake @@ -159,19 +159,19 @@ 动摇 动摇.10 shake 动摇 动摇.11 vacillate 动摇 动摇.12 vacillate -动摇 动摇.13 shake +动摇 动摇.13 vacillate 动摇 动摇.14 shake 动摇 动摇.15 shake 动摇 动摇.16 shake 单位 单位.1 organization 单位 单位.2 organization -单位 单位.3 unit +单位 单位.3 organization 单位 单位.4 organization 单位 单位.5 organization 单位 单位.6 organization 单位 单位.7 organization 单位 单位.8 organization -单位 单位.9 unit +单位 单位.9 organization 单位 单位.10 unit 单位 单位.11 unit 单位 单位.12 organization @@ -188,14 +188,14 @@ 发 发.6 express 发 发.7 express 发 发.8 send -发 发.9 occur +发 发.9 send 发 发.10 publish 发 发.11 send -发 发.12 send +发 发.12 publish 发 发.13 send 发 发.14 occur 发 发.15 send -发 发.16 occur +发 发.16 publish 发 发.17 express 发 发.18 express 发 发.19 express @@ -207,8 +207,8 @@ 发 发.25 express 发 发.26 express 发 发.27 express -发 发.28 occur -发 发.29 send +发 发.28 send +发 发.29 publish 发 发.30 send 发 发.31 send 发 发.32 send @@ -230,15 +230,15 @@ 叫 叫.12 cry 叫 叫.13 name 叫 叫.14 name -叫 叫.15 ask +叫 叫.15 name 叫 叫.16 name 叫 叫.17 name -叫 叫.18 ask +叫 叫.18 name 叫 叫.19 call -叫 叫.20 call +叫 叫.20 cry 叫 叫.21 call -叫 叫.22 call -叫 叫.23 name +叫 叫.22 ask +叫 叫.23 call 叫 叫.24 name 叫 叫.25 call 叫 叫.26 call @@ -246,13 +246,13 @@ 叫 叫.28 call 叫 叫.29 name 叫 叫.30 cry -叫 叫.31 cry +叫 叫.31 name 叫 叫.32 cry -叫 叫.33 cry +叫 叫.33 name 叫 叫.34 cry 叫 叫.35 cry 叫 叫.36 call -叫 叫.37 cry +叫 叫.37 ask 叫 叫.38 call 叫 叫.39 cry 吃 吃.1 suffer @@ -276,8 +276,8 @@ 吃 吃.19 suffer 吃 吃.20 suffer 吃 吃.21 eat -吃 吃.22 eat -吃 吃.23 eat +吃 吃.22 wipe_out +吃 吃.23 wipe_out 天地 天地.1 field_of_activity 天地 天地.2 field_of_activity 天地 天地.3 field_of_activity @@ -295,28 +295,28 @@ 天地 天地.15 heaven_and_earth 天地 天地.16 heaven_and_earth 天地 天地.17 heaven_and_earth -天地 天地.18 heaven_and_earth +天地 天地.18 field_of_activity 天地 天地.19 heaven_and_earth -天地 天地.20 heaven_and_earth -天地 天地.21 world +天地 天地.20 world +天地 天地.21 field_of_activity 天地 天地.22 world 天地 天地.23 world 天地 天地.24 world 天地 天地.25 world -带 带.1 carry_with -带 带.2 carry_with +带 带.1 lead +带 带.2 lead 带 带.3 take -带 带.4 instruct +带 带.4 lead 带 带.5 carry_with 带 带.6 carry_with -带 带.7 instruct +带 带.7 lead 带 带.8 instruct 带 带.9 lead -带 带.10 take +带 带.10 carry_with 带 带.11 lead 带 带.12 instruct 带 带.13 promote -带 带.14 take +带 带.14 have 带 带.15 instruct 带 带.16 have 带 带.17 promote @@ -325,19 +325,19 @@ 带 带.20 lead 带 带.21 have 带 带.22 have -带 带.23 have +带 带.23 promote 带 带.24 have -带 带.25 have +带 带.25 take 带 带.26 lead -带 带.27 take +带 带.27 instruct 带 带.28 have 带 带.29 take 带 带.30 promote 带 带.31 carry_with 带 带.32 carry_with 带 带.33 carry_with -带 带.34 take -带 带.35 have +带 带.34 carry_with +带 带.35 take 带 带.36 carry_with 带 带.37 carry_with 带 带.38 carry_with @@ -346,9 +346,9 @@ 带 带.41 promote 带 带.42 promote 带 带.43 promote -带 带.44 instruct -带 带.45 promote -带 带.46 promote +带 带.44 promote +带 带.45 instruct +带 带.46 carry_with 带 带.47 promote 带 带.48 promote 带 带.49 promote @@ -356,30 +356,30 @@ 带 带.51 take 带 带.52 take 带 带.53 take -带 带.54 take +带 带.54 carry_with 带 带.55 lead -带 带.56 take -带 带.57 take +带 带.56 instruct +带 带.57 carry_with 带 带.58 take -带 带.59 instruct +带 带.59 take 带 带.60 take 带 带.61 and -带 带.62 and +带 带.62 promote 带 带.63 and 带 带.64 and -带 带.65 have -带 带.66 promote +带 带.65 promote +带 带.66 instruct 带 带.67 have 平息 平息.1 put_down 平息 平息.2 put_down -平息 平息.3 put_down +平息 平息.3 subside 平息 平息.4 put_down -平息 平息.5 subside +平息 平息.5 put_down 平息 平息.6 subside 平息 平息.7 put_down -平息 平息.8 subside +平息 平息.8 put_down 开通 开通.1 open -开通 开通.2 open +开通 开通.2 go_into_operation 开通 开通.3 go_into_operation 开通 开通.4 open 开通 开通.5 open @@ -400,17 +400,17 @@ 开通 开通.20 go_into_operation 想 想.1 miss 想 想.2 want -想 想.3 think -想 想.4 want +想 想.3 miss +想 想.4 think 想 想.5 want 想 想.6 want -想 想.7 think +想 想.7 miss 想 想.8 want 想 想.9 want 想 想.10 suppose 想 想.11 want -想 想.12 think -想 想.13 miss +想 想.12 want +想 想.13 think 想 想.14 think 想 想.15 think 想 想.16 think @@ -428,11 +428,11 @@ 想 想.28 suppose 想 想.29 suppose 想 想.30 suppose -想 想.31 miss +想 想.31 want 想 想.32 miss -想 想.33 miss +想 想.33 think 想 想.34 miss -想 想.35 think +想 想.35 miss 想 想.36 miss 想 想.37 want 成立 成立.1 be_founded @@ -444,7 +444,7 @@ 成立 成立.7 be_founded 成立 成立.8 be_founded 成立 成立.9 be_founded -成立 成立.10 be_founded +成立 成立.10 be_tenable 成立 成立.11 establish 成立 成立.12 be_founded 成立 成立.13 establish @@ -453,13 +453,13 @@ 成立 成立.16 establish 成立 成立.17 establish 成立 成立.18 establish -成立 成立.19 establish +成立 成立.19 be_founded 成立 成立.20 establish 成立 成立.21 be_tenable 成立 成立.22 establish 成立 成立.23 be_tenable 成立 成立.24 be_tenable -成立 成立.25 establish +成立 成立.25 be_tenable 成立 成立.26 be_founded 成立 成立.27 be_founded 挑 挑.1 choose @@ -468,7 +468,7 @@ 挑 挑.4 carry 挑 挑.5 choose 挑 挑.6 carry -挑 挑.7 carry +挑 挑.7 choose 挑 挑.8 carry 挑 挑.9 carry 挑 挑.10 carry @@ -485,19 +485,19 @@ 推翻 推翻.7 overthrow 推翻 推翻.8 overthrow 推翻 推翻.9 repudiate -推翻 推翻.10 repudiate +推翻 推翻.10 overthrow 旗帜 旗帜.1 stand 旗帜 旗帜.2 stand 旗帜 旗帜.3 stand 旗帜 旗帜.4 stand 旗帜 旗帜.5 stand -旗帜 旗帜.6 stand +旗帜 旗帜.6 banner 旗帜 旗帜.7 stand 旗帜 旗帜.8 stand 旗帜 旗帜.9 stand 旗帜 旗帜.10 stand 旗帜 旗帜.11 banner -旗帜 旗帜.12 banner +旗帜 旗帜.12 model 旗帜 旗帜.13 banner 旗帜 旗帜.14 model 旗帜 旗帜.15 stand @@ -509,9 +509,9 @@ 日子 日子.3 life 日子 日子.4 date 日子 日子.5 date -日子 日子.6 day +日子 日子.6 date 日子 日子.7 day -日子 日子.8 life +日子 日子.8 date 日子 日子.9 day 日子 日子.10 date 日子 日子.11 day @@ -522,10 +522,10 @@ 日子 日子.16 day 日子 日子.17 date 日子 日子.18 day -日子 日子.19 date +日子 日子.19 life 日子 日子.20 life 日子 日子.21 day -日子 日子.22 day +日子 日子.22 date 日子 日子.23 date 日子 日子.24 day 日子 日子.25 life @@ -533,8 +533,8 @@ 日子 日子.27 date 日子 日子.28 life 日子 日子.29 life -日子 日子.30 day -日子 日子.31 life +日子 日子.30 date +日子 日子.31 day 日子 日子.32 life 望 望.1 gaze 望 望.2 gaze @@ -556,7 +556,7 @@ 本 本.5 book 本 本.6 book 本 本.7 book -本 本.8 foundation +本 本.8 book 本 本.9 book 本 本.10 book 本 本.11 foundation @@ -598,7 +598,7 @@ 气息 气息.8 spirit 气息 气息.9 spirit 气息 气息.10 spirit -气息 气息.11 smell +气息 气息.11 spirit 气息 气息.12 spirit 气息 气息.13 smell 气息 气息.14 smell @@ -619,8 +619,8 @@ 气象 气象.15 atmosphere 气象 气象.16 atmosphere 牌子 牌子.1 brand -牌子 牌子.2 plate -牌子 牌子.3 plate +牌子 牌子.2 brand +牌子 牌子.3 brand 牌子 牌子.4 plate 牌子 牌子.5 plate 牌子 牌子.6 plate @@ -629,7 +629,7 @@ 牌子 牌子.9 brand 牌子 牌子.10 plate 牌子 牌子.11 brand -牌子 牌子.12 plate +牌子 牌子.12 brand 牌子 牌子.13 plate 牌子 牌子.14 brand 牌子 牌子.15 plate @@ -639,12 +639,12 @@ 看 看.2 depend_on 看 看.3 depend_on 看 看.4 depend_on -看 看.5 depend_on +看 看.5 consider 看 看.6 depend_on 看 看.7 depend_on 看 看.8 consider -看 看.9 consider -看 看.10 consider +看 看.9 depend_on +看 看.10 depend_on 看 看.11 depend_on 看 看.12 see 看 看.13 think @@ -652,11 +652,11 @@ 看 看.15 see 看 看.16 depend_on 看 看.17 see -看 看.18 see +看 看.18 depend_on 看 看.19 consider -看 看.20 see +看 看.20 depend_on 看 看.21 think -看 看.22 think +看 看.22 consider 看 看.23 think 看 看.24 think 看 看.25 consider @@ -665,7 +665,7 @@ 看 看.28 consider 看 看.29 consider 看 看.30 see -看 看.31 depend_on +看 看.31 think 看 看.32 consider 看 看.33 consider 看 看.34 consider @@ -695,21 +695,21 @@ 菜 菜.10 vegetable 菜 菜.11 dish 菜 菜.12 vegetable -菜 菜.13 vegetable -菜 菜.14 vegetable +菜 菜.13 dish +菜 菜.14 dish 菜 菜.15 dish 菜 菜.16 dish 菜 菜.17 dish 菜 菜.18 vegetable 菜 菜.19 vegetable -补 补.1 repair +补 补.1 nourish 补 补.2 supply 补 补.3 supply 补 补.4 supply 补 补.5 supply 补 补.6 supply 补 补.7 supply -补 补.8 nourish +补 补.8 supply 补 补.9 supply 补 补.10 supply 补 补.11 supply @@ -729,10 +729,10 @@ 表面 表面.5 appearance 表面 表面.6 appearance 表面 表面.7 appearance -表面 表面.8 appearance +表面 表面.8 face 表面 表面.9 face 表面 表面.10 face -表面 表面.11 appearance +表面 表面.11 face 表面 表面.12 face 表面 表面.13 face 表面 表面.14 face @@ -740,7 +740,7 @@ 表面 表面.16 face 表面 表面.17 appearance 表面 表面.18 face -说明 说明.1 show +说明 说明.1 explain 说明 说明.2 show 说明 说明.3 show 说明 说明.4 show @@ -749,25 +749,25 @@ 说明 说明.7 explain 说明 说明.8 show 说明 说明.9 explain -说明 说明.10 explain +说明 说明.10 show 说明 说明.11 explain 说明 说明.12 explain 说明 说明.13 explain 说明 说明.14 explain 说明 说明.15 show -说明 说明.16 show +说明 说明.16 explain 说明 说明.17 explain 说明 说明.18 explain 赶 赶.1 rush_for -赶 赶.2 drive +赶 赶.2 rush_for 赶 赶.3 rush_for 赶 赶.4 rush_for 赶 赶.5 rush_for 赶 赶.6 rush_for 赶 赶.7 rush_for -赶 赶.8 happen_to +赶 赶.8 drive 赶 赶.9 rush_for -赶 赶.10 drive +赶 赶.10 rush_for 赶 赶.11 drive 赶 赶.12 drive 赶 赶.13 drive @@ -786,9 +786,9 @@ 进 进.8 into 进 进.9 into 进 进.10 move_forward -进 进.11 enter -进 进.12 enter -进 进.13 buy_in +进 进.11 into +进 进.12 move_forward +进 进.13 into 进 进.14 enter 进 进.15 enter 进 进.16 enter @@ -797,15 +797,15 @@ 进 进.19 enter 进 进.20 enter 进 进.21 buy_in -进 进.22 enter +进 进.22 move_forward 进 进.23 move_forward 进 进.24 move 进 进.25 move_forward -进 进.26 enter +进 进.26 move_forward 进 进.27 move_forward 进 进.28 move_forward 进 进.29 move_forward -进 进.30 buy_in +进 进.30 move_forward 进 进.31 enter 进 进.32 move_forward 进 进.33 enter @@ -819,7 +819,7 @@ 进 进.41 move 进 进.42 move 进 进.43 move -进 进.44 enter +进 进.44 move 道 道.1 technique 道 道.2 technique 道 道.3 technique @@ -844,18 +844,18 @@ 镜头 镜头.4 lens 镜头 镜头.5 shot 镜头 镜头.6 shot -镜头 镜头.7 shot +镜头 镜头.7 lens 镜头 镜头.8 shot 镜头 镜头.9 lens 镜头 镜头.10 shot 镜头 镜头.11 lens 镜头 镜头.12 lens -镜头 镜头.13 shot +镜头 镜头.13 lens 镜头 镜头.14 shot 镜头 镜头.15 lens 长城 长城.1 the_Great_Wall -长城 长城.2 the_Great_Wall -长城 长城.3 the_Great_Wall +长城 长城.2 ChangCheng +长城 长城.3 impregnable_bulwark 长城 长城.4 the_Great_Wall 长城 长城.5 the_Great_Wall 长城 长城.6 the_Great_Wall @@ -873,7 +873,7 @@ 长城 长城.18 the_Great_Wall 长城 长城.19 the_Great_Wall 长城 长城.20 impregnable_bulwark -长城 长城.21 the_Great_Wall +长城 长城.21 impregnable_bulwark 队伍 队伍.1 contingent 队伍 队伍.2 ranks 队伍 队伍.3 contingent @@ -890,15 +890,15 @@ 队伍 队伍.14 contingent 队伍 队伍.15 contingent 队伍 队伍.16 contingent -队伍 队伍.17 ranks +队伍 队伍.17 contingent 队伍 队伍.18 ranks 队伍 队伍.19 ranks 队伍 队伍.20 troops -队伍 队伍.21 contingent +队伍 队伍.21 troops 队伍 队伍.22 troops 震惊 震惊.1 shock 震惊 震惊.2 shock -震惊 震惊.3 be_shocked +震惊 震惊.3 shock 震惊 震惊.4 be_shocked 震惊 震惊.5 be_shocked 震惊 震惊.6 be_shocked @@ -914,22 +914,22 @@ 面 面.2 face 面 面.3 face 面 面.4 face -面 面.5 face -面 面.6 surface +面 面.5 surface +面 面.6 face 面 面.7 surface 面 面.8 face -面 面.9 surface +面 面.9 face 面 面.10 face 面 面.11 face 面 面.12 face 面 面.13 flour 面 面.14 surface 面 面.15 face -面 面.16 surface +面 面.16 face 面 面.17 surface 面 面.18 surface 面 面.19 surface -面 面.20 face -面 面.21 surface +面 面.20 surface +面 面.21 face 面 面.22 face 面 面.23 surface diff --git a/result/NaiveBayesWSD_result.txt b/result/NaiveBayesWSD_result.txt index 5e2972e..ac29d47 100644 --- a/result/NaiveBayesWSD_result.txt +++ b/result/NaiveBayesWSD_result.txt @@ -15,7 +15,7 @@ 中医 中医.15 practitioner_of_Chinese_medicine 中医 中医.16 practitioner_of_Chinese_medicine 使 使.1 make -使 使.2 use +使 使.2 make 使 使.3 use 使 使.4 use 使 使.5 use @@ -52,98 +52,98 @@ 儿女 儿女.20 children 出 出.1 out_of 出 出.2 out_of -出 出.3 produce +出 出.3 emit 出 出.4 out_of 出 出.5 out_of -出 出.6 produce +出 出.6 emit 出 出.7 out_of 出 出.8 produce 出 出.9 out_of 出 出.10 produce -出 出.11 give -出 出.12 publish -出 出.13 publish +出 出.11 come_out +出 出.12 emit +出 出.13 happen 出 出.14 happen 出 出.15 happen 出 出.16 happen -出 出.17 happen +出 出.17 emit 出 出.18 come_appear -出 出.19 come_out +出 出.19 publish 出 出.20 happen -出 出.21 publish -出 出.22 publish +出 出.21 produce +出 出.22 emit 出 出.23 come_appear 出 出.24 come_out -出 出.25 come_out +出 出.25 come_appear 出 出.26 come_appear -出 出.27 come_out +出 出.27 come_appear 出 出.28 publish -出 出.29 give +出 出.29 emit 出 出.30 happen -出 出.31 give -出 出.32 come_out +出 出.31 emit +出 出.32 emit 出 出.33 give -出 出.34 publish +出 出.34 emit 出 出.35 out_of -出 出.36 come_out -出 出.37 publish -出 出.38 give -出 出.39 give -出 出.40 give -出 出.41 publish +出 出.36 emit +出 出.37 give +出 出.38 come_appear +出 出.39 emit +出 出.40 emit +出 出.41 emit 出 出.42 emit 出 出.43 emit -出 出.44 out_of +出 出.44 emit 出 出.45 publish 出 出.46 produce 出 出.47 produce 出 出.48 produce 出 出.49 produce 出 出.50 out_of -出 出.51 produce +出 出.51 emit 出 出.52 produce 出 出.53 emit 出 出.54 produce -出 出.55 produce +出 出.55 come_appear 出 出.56 out_of 出 出.57 happen -出 出.58 come_out -出 出.59 happen +出 出.58 emit +出 出.59 emit 出 出.60 publish 出 出.61 emit 出 出.62 come_appear -出 出.63 publish +出 出.63 emit 出 出.64 publish -出 出.65 produce +出 出.65 come_appear 出 出.66 come_appear 出 出.67 come_appear 出 出.68 come_appear -出 出.69 come_appear +出 出.69 emit 出 出.70 come_appear 出 出.71 produce -出 出.72 produce -出 出.73 produce +出 出.72 emit +出 出.73 emit 出 出.74 happen -出 出.75 produce +出 出.75 publish 出 出.76 publish 出 出.77 publish 动 动.1 act 动 动.2 off -动 动.3 act -动 动.4 act +动 动.3 off +动 动.4 use 动 动.5 act -动 动.6 touch +动 动.6 use 动 动.7 act 动 动.8 use 动 动.9 off 动 动.10 off -动 动.11 touch +动 动.11 use 动 动.12 use 动 动.13 use 动 动.14 off 动 动.15 off 动 动.16 off -动 动.17 act +动 动.17 off 动 动.18 touch 动 动.19 off 动 动.20 off @@ -161,7 +161,7 @@ 动摇 动摇.12 vacillate 动摇 动摇.13 vacillate 动摇 动摇.14 shake -动摇 动摇.15 vacillate +动摇 动摇.15 shake 动摇 动摇.16 shake 单位 单位.1 organization 单位 单位.2 unit @@ -169,9 +169,9 @@ 单位 单位.4 unit 单位 单位.5 unit 单位 单位.6 organization -单位 单位.7 organization +单位 单位.7 unit 单位 单位.8 organization -单位 单位.9 unit +单位 单位.9 organization 单位 单位.10 unit 单位 单位.11 unit 单位 单位.12 organization @@ -188,10 +188,10 @@ 发 发.6 express 发 发.7 express 发 发.8 appear -发 发.9 occur +发 发.9 appear 发 发.10 publish 发 发.11 send -发 发.12 send +发 发.12 occur 发 发.13 send 发 发.14 occur 发 发.15 send @@ -207,11 +207,11 @@ 发 发.25 express 发 发.26 express 发 发.27 publish -发 发.28 occur +发 发.28 send 发 发.29 send 发 发.30 send 发 发.31 send -发 发.32 appear +发 发.32 occur 发 发.33 send 发 发.34 send 发 发.35 send @@ -224,7 +224,7 @@ 叫 叫.6 ask 叫 叫.7 ask 叫 叫.8 ask -叫 叫.9 ask +叫 叫.9 name 叫 叫.10 ask 叫 叫.11 name 叫 叫.12 cry @@ -232,7 +232,7 @@ 叫 叫.14 name 叫 叫.15 name 叫 叫.16 name -叫 叫.17 name +叫 叫.17 call 叫 叫.18 call 叫 叫.19 call 叫 叫.20 call @@ -244,7 +244,7 @@ 叫 叫.26 call 叫 叫.27 call 叫 叫.28 call -叫 叫.29 name +叫 叫.29 call 叫 叫.30 cry 叫 叫.31 cry 叫 叫.32 cry @@ -256,27 +256,27 @@ 叫 叫.38 call 叫 叫.39 cry 吃 吃.1 suffer -吃 吃.2 eat +吃 吃.2 live_on 吃 吃.3 eat 吃 吃.4 wipe_out 吃 吃.5 eat 吃 吃.6 live_on -吃 吃.7 suffer +吃 吃.7 eat 吃 吃.8 suffer -吃 吃.9 suffer +吃 吃.9 live_on 吃 吃.10 eat 吃 吃.11 live_on 吃 吃.12 live_on -吃 吃.13 eat +吃 吃.13 live_on 吃 吃.14 suffer 吃 吃.15 suffer -吃 吃.16 eat -吃 吃.17 suffer +吃 吃.16 wipe_out +吃 吃.17 wipe_out 吃 吃.18 live_on 吃 吃.19 suffer 吃 吃.20 suffer 吃 吃.21 wipe_out -吃 吃.22 eat +吃 吃.22 wipe_out 吃 吃.23 wipe_out 天地 天地.1 field_of_activity 天地 天地.2 field_of_activity @@ -290,85 +290,85 @@ 天地 天地.10 field_of_activity 天地 天地.11 heaven_and_earth 天地 天地.12 heaven_and_earth -天地 天地.13 heaven_and_earth +天地 天地.13 world 天地 天地.14 heaven_and_earth 天地 天地.15 heaven_and_earth 天地 天地.16 heaven_and_earth 天地 天地.17 heaven_and_earth -天地 天地.18 world +天地 天地.18 field_of_activity 天地 天地.19 heaven_and_earth -天地 天地.20 heaven_and_earth +天地 天地.20 world 天地 天地.21 world 天地 天地.22 world 天地 天地.23 world 天地 天地.24 world 天地 天地.25 world -带 带.1 instruct -带 带.2 lead -带 带.3 take -带 带.4 instruct +带 带.1 wear +带 带.2 and +带 带.3 wear +带 带.4 lead 带 带.5 carry_with -带 带.6 carry_with +带 带.6 wear 带 带.7 lead 带 带.8 instruct -带 带.9 lead -带 带.10 carry_with -带 带.11 lead +带 带.9 wear +带 带.10 wear +带 带.11 and 带 带.12 instruct 带 带.13 promote -带 带.14 take +带 带.14 wear 带 带.15 instruct -带 带.16 have +带 带.16 wear 带 带.17 promote 带 带.18 instruct -带 带.19 take +带 带.19 wear 带 带.20 lead 带 带.21 have -带 带.22 have +带 带.22 wear 带 带.23 promote 带 带.24 have -带 带.25 take -带 带.26 wear +带 带.25 wear +带 带.26 and 带 带.27 take 带 带.28 have -带 带.29 take -带 带.30 instruct +带 带.29 wear +带 带.30 wear 带 带.31 carry_with -带 带.32 carry_with +带 带.32 wear 带 带.33 carry_with -带 带.34 carry_with -带 带.35 carry_with +带 带.34 wear +带 带.35 wear 带 带.36 carry_with 带 带.37 carry_with 带 带.38 carry_with 带 带.39 carry_with 带 带.40 carry_with -带 带.41 promote +带 带.41 wear 带 带.42 promote 带 带.43 promote -带 带.44 instruct -带 带.45 promote -带 带.46 promote -带 带.47 promote +带 带.44 wear +带 带.45 wear +带 带.46 wear +带 带.47 wear 带 带.48 promote 带 带.49 promote 带 带.50 promote 带 带.51 take -带 带.52 take -带 带.53 take +带 带.52 wear +带 带.53 wear 带 带.54 wear -带 带.55 promote -带 带.56 take -带 带.57 take +带 带.55 wear +带 带.56 wear +带 带.57 wear 带 带.58 take 带 带.59 wear -带 带.60 take +带 带.60 wear 带 带.61 and 带 带.62 and 带 带.63 and 带 带.64 and -带 带.65 have -带 带.66 promote +带 带.65 wear +带 带.66 wear 带 带.67 have 平息 平息.1 put_down 平息 平息.2 put_down @@ -396,13 +396,13 @@ 开通 开通.16 go_into_operation 开通 开通.17 go_into_operation 开通 开通.18 go_into_operation -开通 开通.19 go_into_operation +开通 开通.19 open 开通 开通.20 go_into_operation 想 想.1 miss 想 想.2 want 想 想.3 miss 想 想.4 want -想 想.5 want +想 想.5 miss 想 想.6 want 想 想.7 miss 想 想.8 want @@ -430,53 +430,53 @@ 想 想.30 suppose 想 想.31 miss 想 想.32 miss -想 想.33 miss +想 想.33 think 想 想.34 miss 想 想.35 miss 想 想.36 miss -想 想.37 want +想 想.37 miss 成立 成立.1 1-1 成立 成立.2 be_founded 成立 成立.3 be_founded -成立 成立.4 be_founded -成立 成立.5 be_founded -成立 成立.6 be_founded +成立 成立.4 1-1 +成立 成立.5 1-1 +成立 成立.6 1-1 成立 成立.7 be_founded -成立 成立.8 be_founded +成立 成立.8 1-1 成立 成立.9 be_tenable -成立 成立.10 be_tenable +成立 成立.10 1-1 成立 成立.11 1-1 -成立 成立.12 be_founded +成立 成立.12 1-1 成立 成立.13 establish -成立 成立.14 establish +成立 成立.14 1-1 成立 成立.15 establish -成立 成立.16 establish -成立 成立.17 establish +成立 成立.16 1-1 +成立 成立.17 1-1 成立 成立.18 establish 成立 成立.19 establish -成立 成立.20 establish +成立 成立.20 1-1 成立 成立.21 be_tenable -成立 成立.22 be_tenable +成立 成立.22 1-1 成立 成立.23 be_tenable 成立 成立.24 be_tenable 成立 成立.25 be_tenable -成立 成立.26 be_tenable -成立 成立.27 be_tenable +成立 成立.26 1-1 +成立 成立.27 1-1 挑 挑.1 choose -挑 挑.2 choose +挑 挑.2 carry 挑 挑.3 carry 挑 挑.4 carry 挑 挑.5 choose 挑 挑.6 carry -挑 挑.7 carry +挑 挑.7 raise 挑 挑.8 carry 挑 挑.9 carry 挑 挑.10 carry 挑 挑.11 carry 挑 挑.12 carry -挑 挑.13 raise +挑 挑.13 carry 挑 挑.14 raise -推翻 推翻.1 overthrow +推翻 推翻.1 repudiate 推翻 推翻.2 repudiate 推翻 推翻.3 repudiate 推翻 推翻.4 overthrow @@ -485,20 +485,20 @@ 推翻 推翻.7 overthrow 推翻 推翻.8 overthrow 推翻 推翻.9 repudiate -推翻 推翻.10 repudiate +推翻 推翻.10 overthrow 旗帜 旗帜.1 stand 旗帜 旗帜.2 stand 旗帜 旗帜.3 stand 旗帜 旗帜.4 stand 旗帜 旗帜.5 stand 旗帜 旗帜.6 stand -旗帜 旗帜.7 banner +旗帜 旗帜.7 stand 旗帜 旗帜.8 stand 旗帜 旗帜.9 stand 旗帜 旗帜.10 stand 旗帜 旗帜.11 banner 旗帜 旗帜.12 banner -旗帜 旗帜.13 banner +旗帜 旗帜.13 model 旗帜 旗帜.14 model 旗帜 旗帜.15 banner 旗帜 旗帜.16 banner @@ -510,12 +510,12 @@ 日子 日子.4 date 日子 日子.5 date 日子 日子.6 date -日子 日子.7 day +日子 日子.7 life 日子 日子.8 date 日子 日子.9 day 日子 日子.10 date 日子 日子.11 day -日子 日子.12 date +日子 日子.12 day 日子 日子.13 day 日子 日子.14 life 日子 日子.15 day @@ -524,8 +524,8 @@ 日子 日子.18 day 日子 日子.19 date 日子 日子.20 life -日子 日子.21 date -日子 日子.22 day +日子 日子.21 day +日子 日子.22 date 日子 日子.23 date 日子 日子.24 day 日子 日子.25 life @@ -534,9 +534,9 @@ 日子 日子.28 life 日子 日子.29 life 日子 日子.30 date -日子 日子.31 date +日子 日子.31 day 日子 日子.32 life -望 望.1 hope +望 望.1 gaze 望 望.2 hope 望 望.3 gaze 望 望.4 gaze @@ -545,8 +545,8 @@ 望 望.7 gaze 望 望.8 gaze 望 望.9 gaze -望 望.10 hope -望 望.11 hope +望 望.10 gaze +望 望.11 gaze 望 望.12 hope 望 望.13 hope 本 本.1 foundation @@ -582,7 +582,7 @@ 机组 机组.6 set_of_machines 机组 机组.7 set_of_machines 机组 机组.8 set_of_machines -机组 机组.9 set_of_machines +机组 机组.9 aircrew 机组 机组.10 set_of_machines 机组 机组.11 set_of_machines 机组 机组.12 aircrew @@ -592,10 +592,10 @@ 气息 气息.2 spirit 气息 气息.3 smell 气息 气息.4 smell -气息 气息.5 smell +气息 气息.5 spirit 气息 气息.6 smell 气息 气息.7 spirit -气息 气息.8 spirit +气息 气息.8 smell 气息 气息.9 spirit 气息 气息.10 spirit 气息 气息.11 smell @@ -609,7 +609,7 @@ 气象 气象.5 meteorology 气象 气象.6 meteorology 气象 气象.7 meteorology -气象 气象.8 atmosphere +气象 气象.8 meteorology 气象 气象.9 meteorology 气象 气象.10 meteorology 气象 气象.11 atmosphere @@ -619,8 +619,8 @@ 气象 气象.15 atmosphere 气象 气象.16 atmosphere 牌子 牌子.1 brand -牌子 牌子.2 plate -牌子 牌子.3 plate +牌子 牌子.2 brand +牌子 牌子.3 brand 牌子 牌子.4 plate 牌子 牌子.5 plate 牌子 牌子.6 plate @@ -639,20 +639,20 @@ 看 看.2 depend_on 看 看.3 depend_on 看 看.4 depend_on -看 看.5 depend_on +看 看.5 consider 看 看.6 depend_on 看 看.7 depend_on 看 看.8 depend_on -看 看.9 consider -看 看.10 consider +看 看.9 depend_on +看 看.10 depend_on 看 看.11 depend_on -看 看.12 consider +看 看.12 see 看 看.13 think 看 看.14 consider 看 看.15 depend_on -看 看.16 think +看 看.16 depend_on 看 看.17 see -看 看.18 see +看 看.18 depend_on 看 看.19 consider 看 看.20 depend_on 看 看.21 think @@ -675,13 +675,13 @@ 眼光 眼光.4 eye 眼光 眼光.5 foresight 眼光 眼光.6 eye -眼光 眼光.7 eye +眼光 眼光.7 foresight 眼光 眼光.8 foresight -眼光 眼光.9 foresight +眼光 眼光.9 eye 眼光 眼光.10 foresight 眼光 眼光.11 eye 眼光 眼光.12 eye -眼光 眼光.13 foresight +眼光 眼光.13 eye 眼光 眼光.14 eye 菜 菜.1 vegetable 菜 菜.2 vegetable @@ -691,12 +691,12 @@ 菜 菜.6 vegetable 菜 菜.7 vegetable 菜 菜.8 dish -菜 菜.9 dish +菜 菜.9 vegetable 菜 菜.10 vegetable 菜 菜.11 dish -菜 菜.12 vegetable -菜 菜.13 vegetable -菜 菜.14 vegetable +菜 菜.12 dish +菜 菜.13 dish +菜 菜.14 dish 菜 菜.15 dish 菜 菜.16 dish 菜 菜.17 dish @@ -704,43 +704,43 @@ 菜 菜.19 vegetable 补 补.1 repair 补 补.2 supply -补 补.3 supply -补 补.4 repair +补 补.3 repair +补 补.4 supply 补 补.5 supply -补 补.6 nourish +补 补.6 supply 补 补.7 nourish -补 补.8 repair +补 补.8 supply 补 补.9 repair 补 补.10 supply 补 补.11 supply 补 补.12 supply -补 补.13 repair +补 补.13 supply 补 补.14 nourish 补 补.15 nourish 补 补.16 nourish 补 补.17 nourish 补 补.18 nourish -补 补.19 nourish +补 补.19 repair 补 补.20 nourish 表面 表面.1 face 表面 表面.2 appearance 表面 表面.3 appearance 表面 表面.4 face 表面 表面.5 appearance -表面 表面.6 appearance +表面 表面.6 face 表面 表面.7 appearance 表面 表面.8 appearance 表面 表面.9 face 表面 表面.10 face -表面 表面.11 appearance +表面 表面.11 face 表面 表面.12 face 表面 表面.13 face 表面 表面.14 face -表面 表面.15 appearance +表面 表面.15 face 表面 表面.16 face 表面 表面.17 appearance 表面 表面.18 face -说明 说明.1 show +说明 说明.1 explain 说明 说明.2 show 说明 说明.3 show 说明 说明.4 show @@ -759,19 +759,19 @@ 说明 说明.17 explain 说明 说明.18 explain 赶 赶.1 rush_for -赶 赶.2 drive +赶 赶.2 rush_for 赶 赶.3 rush_for 赶 赶.4 rush_for 赶 赶.5 drive -赶 赶.6 happen_to +赶 赶.6 rush_for 赶 赶.7 rush_for -赶 赶.8 happen_to -赶 赶.9 drive +赶 赶.8 drive +赶 赶.9 rush_for 赶 赶.10 drive 赶 赶.11 drive 赶 赶.12 drive 赶 赶.13 drive -赶 赶.14 rush_for +赶 赶.14 happen_to 赶 赶.15 rush_for 赶 赶.16 happen_to 赶 赶.17 happen_to @@ -782,16 +782,16 @@ 进 进.4 into 进 进.5 into 进 进.6 into -进 进.7 into +进 进.7 buy_in 进 进.8 into 进 进.9 into 进 进.10 move_forward 进 进.11 buy_in -进 进.12 move_forward +进 进.12 enter 进 进.13 into 进 进.14 enter 进 进.15 enter -进 进.16 buy_in +进 进.16 enter 进 进.17 into 进 进.18 into 进 进.19 enter @@ -801,9 +801,9 @@ 进 进.23 move_forward 进 进.24 move 进 进.25 move_forward -进 进.26 enter +进 进.26 move_forward 进 进.27 move_forward -进 进.28 move_forward +进 进.28 buy_in 进 进.29 move_forward 进 进.30 move_forward 进 进.31 enter @@ -819,7 +819,7 @@ 进 进.41 move 进 进.42 move 进 进.43 move -进 进.44 enter +进 进.44 move 道 道.1 technique 道 道.2 technique 道 道.3 technique @@ -827,8 +827,8 @@ 道 道.5 technique 道 道.6 technique 道 道.7 road -道 道.8 road -道 道.9 doctrine +道 道.8 doctrine +道 道.9 road 道 道.10 technique 道 道.11 technique 道 道.12 road @@ -844,7 +844,7 @@ 镜头 镜头.4 lens 镜头 镜头.5 shot 镜头 镜头.6 shot -镜头 镜头.7 shot +镜头 镜头.7 lens 镜头 镜头.8 shot 镜头 镜头.9 lens 镜头 镜头.10 lens @@ -859,18 +859,18 @@ 长城 长城.4 impregnable_bulwark 长城 长城.5 the_Great_Wall 长城 长城.6 the_Great_Wall -长城 长城.7 impregnable_bulwark -长城 长城.8 the_Great_Wall +长城 长城.7 ChangCheng +长城 长城.8 ChangCheng 长城 长城.9 the_Great_Wall -长城 长城.10 the_Great_Wall +长城 长城.10 impregnable_bulwark 长城 长城.11 the_Great_Wall 长城 长城.12 the_Great_Wall 长城 长城.13 ChangCheng -长城 长城.14 ChangCheng +长城 长城.14 impregnable_bulwark 长城 长城.15 ChangCheng 长城 长城.16 ChangCheng 长城 长城.17 the_Great_Wall -长城 长城.18 the_Great_Wall +长城 长城.18 impregnable_bulwark 长城 长城.19 impregnable_bulwark 长城 长城.20 impregnable_bulwark 长城 长城.21 impregnable_bulwark @@ -881,14 +881,14 @@ 队伍 队伍.5 contingent 队伍 队伍.6 troops 队伍 队伍.7 contingent -队伍 队伍.8 troops -队伍 队伍.9 contingent +队伍 队伍.8 contingent +队伍 队伍.9 troops 队伍 队伍.10 troops 队伍 队伍.11 ranks -队伍 队伍.12 ranks +队伍 队伍.12 troops 队伍 队伍.13 ranks -队伍 队伍.14 contingent -队伍 队伍.15 contingent +队伍 队伍.14 troops +队伍 队伍.15 troops 队伍 队伍.16 troops 队伍 队伍.17 troops 队伍 队伍.18 ranks @@ -910,25 +910,25 @@ 震惊 震惊.12 be_shocked 震惊 震惊.13 be_shocked 震惊 震惊.14 be_shocked -面 面.1 face -面 面.2 face +面 面.1 flour +面 面.2 flour 面 面.3 face 面 面.4 face 面 面.5 face -面 面.6 surface +面 面.6 flour 面 面.7 flour 面 面.8 face 面 面.9 face -面 面.10 face -面 面.11 flour +面 面.10 flour +面 面.11 face 面 面.12 face 面 面.13 flour -面 面.14 flour +面 面.14 surface 面 面.15 flour 面 面.16 surface 面 面.17 surface 面 面.18 surface -面 面.19 surface +面 面.19 flour 面 面.20 flour 面 面.21 surface 面 面.22 flour diff --git a/result/SVMWSD_result.txt b/result/SVMWSD_result.txt index 5edcf41..5ce957d 100644 --- a/result/SVMWSD_result.txt +++ b/result/SVMWSD_result.txt @@ -1,8 +1,8 @@ -中医 中医.1 practitioner_of_Chinese_medicine +中医 中医.1 traditional_Chinese_medical_science 中医 中医.2 traditional_Chinese_medical_science 中医 中医.3 traditional_Chinese_medical_science 中医 中医.4 traditional_Chinese_medical_science -中医 中医.5 traditional_Chinese_medical_science +中医 中医.5 practitioner_of_Chinese_medicine 中医 中医.6 traditional_Chinese_medical_science 中医 中医.7 traditional_Chinese_medical_science 中医 中医.8 traditional_Chinese_medical_science @@ -17,7 +17,7 @@ 使 使.1 make 使 使.2 make 使 使.3 make -使 使.4 make +使 使.4 use 使 使.5 use 使 使.6 use 使 使.7 make @@ -39,7 +39,7 @@ 儿女 儿女.7 young_man_and_woman 儿女 儿女.8 young_man_and_woman 儿女 儿女.9 young_man_and_woman -儿女 儿女.10 children +儿女 儿女.10 young_man_and_woman 儿女 儿女.11 children 儿女 儿女.12 children 儿女 儿女.13 children @@ -50,101 +50,101 @@ 儿女 儿女.18 children 儿女 儿女.19 children 儿女 儿女.20 children -出 出.1 come_out -出 出.2 produce -出 出.3 produce -出 出.4 produce -出 出.5 produce +出 出.1 out_of +出 出.2 out_of +出 出.3 out_of +出 出.4 out_of +出 出.5 out_of 出 出.6 out_of -出 出.7 happen -出 出.8 publish -出 出.9 produce -出 出.10 happen -出 出.11 happen -出 出.12 produce -出 出.13 come_out -出 出.14 produce -出 出.15 produce -出 出.16 produce -出 出.17 produce -出 出.18 produce -出 出.19 produce -出 出.20 come_out -出 出.21 produce +出 出.7 out_of +出 出.8 produce +出 出.9 out_of +出 出.10 produce +出 出.11 produce +出 出.12 happen +出 出.13 happen +出 出.14 happen +出 出.15 happen +出 出.16 happen +出 出.17 give +出 出.18 come_appear +出 出.19 come_out +出 出.20 happen +出 出.21 give 出 出.22 produce -出 出.23 happen -出 出.24 produce -出 出.25 produce -出 出.26 happen -出 出.27 produce -出 出.28 come_out -出 出.29 produce -出 出.30 produce -出 出.31 produce +出 出.23 come_appear +出 出.24 come_out +出 出.25 give +出 出.26 come_out +出 出.27 give +出 出.28 out_of +出 出.29 out_of +出 出.30 happen +出 出.31 give 出 出.32 produce -出 出.33 produce -出 出.34 produce -出 出.35 produce -出 出.36 publish -出 出.37 produce -出 出.38 produce -出 出.39 come_out -出 出.40 produce -出 出.41 produce -出 出.42 produce -出 出.43 produce +出 出.33 out_of +出 出.34 give +出 出.35 out_of +出 出.36 come_out +出 出.37 give +出 出.38 come_appear +出 出.39 give +出 出.40 give +出 出.41 give +出 出.42 emit +出 出.43 emit 出 出.44 produce -出 出.45 produce +出 出.45 happen 出 出.46 produce -出 出.47 produce +出 出.47 come_out 出 出.48 produce -出 出.49 produce -出 出.50 produce +出 出.49 out_of +出 出.50 out_of 出 出.51 produce 出 出.52 produce 出 出.53 produce 出 出.54 produce -出 出.55 produce -出 出.56 produce +出 出.55 come_out +出 出.56 out_of 出 出.57 produce -出 出.58 produce +出 出.58 come_out 出 出.59 happen -出 出.60 produce -出 出.61 come_appear -出 出.62 produce -出 出.63 produce +出 出.60 publish +出 出.61 publish +出 出.62 come_appear +出 出.63 publish 出 出.64 publish 出 出.65 produce -出 出.66 produce -出 出.67 produce -出 出.68 publish -出 出.69 come_out +出 出.66 come_appear +出 出.67 come_appear +出 出.68 come_appear +出 出.69 give 出 出.70 come_appear 出 出.71 produce -出 出.72 produce +出 出.72 give 出 出.73 produce -出 出.74 produce -出 出.75 happen -出 出.76 happen -出 出.77 produce +出 出.74 happen +出 出.75 produce +出 出.76 publish +出 出.77 come_out 动 动.1 act 动 动.2 act 动 动.3 act 动 动.4 act -动 动.5 off -动 动.6 act -动 动.7 off -动 动.8 act -动 动.9 act -动 动.10 act -动 动.11 act -动 动.12 act +动 动.5 act +动 动.6 touch +动 动.7 act +动 动.8 use +动 动.9 off +动 动.10 off +动 动.11 touch +动 动.12 use 动 动.13 act -动 动.14 act +动 动.14 off 动 动.15 act 动 动.16 off 动 动.17 act -动 动.18 act +动 动.18 touch 动 动.19 act 动 动.20 act 动摇 动摇.1 shake @@ -157,9 +157,9 @@ 动摇 动摇.8 shake 动摇 动摇.9 shake 动摇 动摇.10 shake -动摇 动摇.11 shake -动摇 动摇.12 shake -动摇 动摇.13 shake +动摇 动摇.11 vacillate +动摇 动摇.12 vacillate +动摇 动摇.13 vacillate 动摇 动摇.14 shake 动摇 动摇.15 shake 动摇 动摇.16 shake @@ -172,39 +172,39 @@ 单位 单位.7 organization 单位 单位.8 organization 单位 单位.9 organization -单位 单位.10 organization -单位 单位.11 organization +单位 单位.10 unit +单位 单位.11 unit 单位 单位.12 organization -单位 单位.13 organization -单位 单位.14 organization -单位 单位.15 organization -单位 单位.16 organization -单位 单位.17 organization -发 发.1 appear +单位 单位.13 unit +单位 单位.14 unit +单位 单位.15 unit +单位 单位.16 unit +单位 单位.17 unit +发 发.1 send 发 发.2 appear 发 发.3 send -发 发.4 send +发 发.4 appear 发 发.5 publish 发 发.6 send -发 发.7 send +发 发.7 express 发 发.8 send 发 发.9 send 发 发.10 publish 发 发.11 send -发 发.12 send +发 发.12 publish 发 发.13 send -发 发.14 send +发 发.14 occur 发 发.15 send 发 发.16 send 发 发.17 express -发 发.18 send +发 发.18 express 发 发.19 express -发 发.20 send +发 发.20 express 发 发.21 express -发 发.22 send +发 发.22 express 发 发.23 express 发 发.24 express -发 发.25 send +发 发.25 express 发 发.26 express 发 发.27 send 发 发.28 send @@ -215,69 +215,69 @@ 发 发.33 send 发 发.34 send 发 发.35 send -发 发.36 send +发 发.36 appear 叫 叫.1 ask 叫 叫.2 ask -叫 叫.3 name +叫 叫.3 ask 叫 叫.4 ask 叫 叫.5 ask -叫 叫.6 name +叫 叫.6 ask 叫 叫.7 ask 叫 叫.8 ask 叫 叫.9 ask 叫 叫.10 ask -叫 叫.11 ask -叫 叫.12 ask +叫 叫.11 name +叫 叫.12 cry 叫 叫.13 ask -叫 叫.14 ask -叫 叫.15 ask -叫 叫.16 ask -叫 叫.17 ask -叫 叫.18 ask -叫 叫.19 ask -叫 叫.20 ask -叫 叫.21 ask -叫 叫.22 ask -叫 叫.23 ask -叫 叫.24 ask -叫 叫.25 name -叫 叫.26 ask -叫 叫.27 ask -叫 叫.28 ask -叫 叫.29 ask -叫 叫.30 ask -叫 叫.31 ask -叫 叫.32 ask +叫 叫.14 name +叫 叫.15 name +叫 叫.16 name +叫 叫.17 name +叫 叫.18 name +叫 叫.19 call +叫 叫.20 cry +叫 叫.21 call +叫 叫.22 call +叫 叫.23 call +叫 叫.24 name +叫 叫.25 call +叫 叫.26 call +叫 叫.27 call +叫 叫.28 call +叫 叫.29 cry +叫 叫.30 cry +叫 叫.31 cry +叫 叫.32 cry 叫 叫.33 cry -叫 叫.34 name -叫 叫.35 ask -叫 叫.36 ask -叫 叫.37 name -叫 叫.38 ask -叫 叫.39 ask -吃 吃.1 suffer -吃 吃.2 suffer +叫 叫.34 cry +叫 叫.35 cry +叫 叫.36 call +叫 叫.37 cry +叫 叫.38 call +叫 叫.39 cry +吃 吃.1 eat +吃 吃.2 eat 吃 吃.3 eat 吃 吃.4 eat 吃 吃.5 eat 吃 吃.6 eat 吃 吃.7 eat -吃 吃.8 suffer +吃 吃.8 eat 吃 吃.9 eat 吃 吃.10 eat 吃 吃.11 live_on 吃 吃.12 eat 吃 吃.13 eat 吃 吃.14 suffer -吃 吃.15 eat +吃 吃.15 suffer 吃 吃.16 eat -吃 吃.17 suffer -吃 吃.18 eat -吃 吃.19 eat -吃 吃.20 eat +吃 吃.17 eat +吃 吃.18 suffer +吃 吃.19 suffer +吃 吃.20 suffer 吃 吃.21 eat 吃 吃.22 eat -吃 吃.23 eat +吃 吃.23 wipe_out 天地 天地.1 field_of_activity 天地 天地.2 field_of_activity 天地 天地.3 field_of_activity @@ -287,97 +287,97 @@ 天地 天地.7 field_of_activity 天地 天地.8 field_of_activity 天地 天地.9 field_of_activity -天地 天地.10 world -天地 天地.11 field_of_activity -天地 天地.12 field_of_activity -天地 天地.13 field_of_activity -天地 天地.14 field_of_activity -天地 天地.15 field_of_activity -天地 天地.16 field_of_activity -天地 天地.17 field_of_activity -天地 天地.18 field_of_activity -天地 天地.19 field_of_activity +天地 天地.10 field_of_activity +天地 天地.11 heaven_and_earth +天地 天地.12 heaven_and_earth +天地 天地.13 heaven_and_earth +天地 天地.14 heaven_and_earth +天地 天地.15 heaven_and_earth +天地 天地.16 heaven_and_earth +天地 天地.17 heaven_and_earth +天地 天地.18 heaven_and_earth +天地 天地.19 heaven_and_earth 天地 天地.20 heaven_and_earth -天地 天地.21 field_of_activity -天地 天地.22 field_of_activity -天地 天地.23 field_of_activity -天地 天地.24 field_of_activity -天地 天地.25 world -带 带.1 lead +天地 天地.21 world +天地 天地.22 world +天地 天地.23 world +天地 天地.24 world +天地 天地.25 heaven_and_earth +带 带.1 take 带 带.2 lead -带 带.3 lead +带 带.3 take 带 带.4 lead 带 带.5 carry_with -带 带.6 lead +带 带.6 carry_with 带 带.7 lead -带 带.8 lead +带 带.8 instruct 带 带.9 lead -带 带.10 lead +带 带.10 carry_with 带 带.11 lead 带 带.12 instruct -带 带.13 instruct -带 带.14 lead -带 带.15 lead -带 带.16 lead +带 带.13 promote +带 带.14 have +带 带.15 instruct +带 带.16 have 带 带.17 promote 带 带.18 instruct -带 带.19 lead +带 带.19 take 带 带.20 lead -带 带.21 lead -带 带.22 lead -带 带.23 lead -带 带.24 instruct +带 带.21 have +带 带.22 have +带 带.23 have +带 带.24 have 带 带.25 lead 带 带.26 lead -带 带.27 lead +带 带.27 instruct 带 带.28 have -带 带.29 instruct -带 带.30 lead -带 带.31 lead -带 带.32 take -带 带.33 lead -带 带.34 lead -带 带.35 lead -带 带.36 lead -带 带.37 lead -带 带.38 lead -带 带.39 lead -带 带.40 lead -带 带.41 lead -带 带.42 instruct +带 带.29 take +带 带.30 promote +带 带.31 carry_with +带 带.32 carry_with +带 带.33 carry_with +带 带.34 take +带 带.35 take +带 带.36 carry_with +带 带.37 carry_with +带 带.38 carry_with +带 带.39 carry_with +带 带.40 carry_with +带 带.41 promote +带 带.42 promote 带 带.43 promote -带 带.44 instruct -带 带.45 lead -带 带.46 lead -带 带.47 lead +带 带.44 have +带 带.45 instruct +带 带.46 instruct +带 带.47 promote 带 带.48 promote 带 带.49 promote 带 带.50 promote -带 带.51 lead -带 带.52 lead +带 带.51 take +带 带.52 take 带 带.53 lead 带 带.54 take 带 带.55 lead -带 带.56 lead -带 带.57 lead -带 带.58 lead -带 带.59 lead +带 带.56 instruct +带 带.57 carry_with +带 带.58 take +带 带.59 take 带 带.60 take -带 带.61 lead -带 带.62 lead -带 带.63 instruct -带 带.64 lead -带 带.65 instruct -带 带.66 lead -带 带.67 lead +带 带.61 and +带 带.62 have +带 带.63 and +带 带.64 and +带 带.65 lead +带 带.66 promote +带 带.67 have 平息 平息.1 put_down 平息 平息.2 put_down 平息 平息.3 put_down 平息 平息.4 put_down 平息 平息.5 put_down -平息 平息.6 put_down +平息 平息.6 subside 平息 平息.7 subside -平息 平息.8 put_down +平息 平息.8 subside 开通 开通.1 open 开通 开通.2 open 开通 开通.3 open @@ -385,69 +385,69 @@ 开通 开通.5 open 开通 开通.6 open 开通 开通.7 open -开通 开通.8 open +开通 开通.8 go_into_operation 开通 开通.9 open 开通 开通.10 open -开通 开通.11 open +开通 开通.11 go_into_operation 开通 开通.12 go_into_operation -开通 开通.13 open -开通 开通.14 open -开通 开通.15 open -开通 开通.16 open +开通 开通.13 go_into_operation +开通 开通.14 go_into_operation +开通 开通.15 go_into_operation +开通 开通.16 go_into_operation 开通 开通.17 go_into_operation 开通 开通.18 go_into_operation 开通 开通.19 go_into_operation -开通 开通.20 open -想 想.1 think -想 想.2 think -想 想.3 miss -想 想.4 think -想 想.5 think -想 想.6 think -想 想.7 think -想 想.8 think -想 想.9 think -想 想.10 think -想 想.11 think -想 想.12 think -想 想.13 think +开通 开通.20 go_into_operation +想 想.1 miss +想 想.2 want +想 想.3 want +想 想.4 want +想 想.5 want +想 想.6 want +想 想.7 want +想 想.8 want +想 想.9 want +想 想.10 suppose +想 想.11 want +想 想.12 want +想 想.13 miss 想 想.14 think 想 想.15 think 想 想.16 think -想 想.17 think +想 想.17 want 想 想.18 think 想 想.19 think -想 想.20 think -想 想.21 suppose +想 想.20 miss +想 想.21 want 想 想.22 suppose 想 想.23 suppose 想 想.24 suppose 想 想.25 suppose -想 想.26 think +想 想.26 suppose 想 想.27 suppose 想 想.28 suppose 想 想.29 suppose -想 想.30 think -想 想.31 think -想 想.32 think +想 想.30 suppose +想 想.31 want +想 想.32 miss 想 想.33 think -想 想.34 think -想 想.35 think -想 想.36 think -想 想.37 miss -成立 成立.1 establish -成立 成立.2 establish -成立 成立.3 establish -成立 成立.4 establish -成立 成立.5 establish -成立 成立.6 establish -成立 成立.7 establish -成立 成立.8 establish -成立 成立.9 establish -成立 成立.10 be_tenable -成立 成立.11 be_tenable -成立 成立.12 establish -成立 成立.13 be_tenable +想 想.34 miss +想 想.35 miss +想 想.36 miss +想 想.37 want +成立 成立.1 be_founded +成立 成立.2 be_founded +成立 成立.3 be_founded +成立 成立.4 be_founded +成立 成立.5 be_tenable +成立 成立.6 be_founded +成立 成立.7 be_founded +成立 成立.8 be_founded +成立 成立.9 be_founded +成立 成立.10 establish +成立 成立.11 be_founded +成立 成立.12 be_founded +成立 成立.13 establish 成立 成立.14 establish 成立 成立.15 establish 成立 成立.16 establish @@ -456,84 +456,84 @@ 成立 成立.19 establish 成立 成立.20 establish 成立 成立.21 be_tenable -成立 成立.22 establish +成立 成立.22 be_tenable 成立 成立.23 be_tenable 成立 成立.24 be_tenable 成立 成立.25 be_tenable -成立 成立.26 be_tenable -成立 成立.27 be_tenable +成立 成立.26 be_founded +成立 成立.27 be_founded 挑 挑.1 choose 挑 挑.2 choose -挑 挑.3 choose +挑 挑.3 carry 挑 挑.4 choose 挑 挑.5 choose 挑 挑.6 choose 挑 挑.7 choose -挑 挑.8 choose -挑 挑.9 choose -挑 挑.10 choose -挑 挑.11 choose -挑 挑.12 choose -挑 挑.13 choose -挑 挑.14 choose +挑 挑.8 carry +挑 挑.9 carry +挑 挑.10 carry +挑 挑.11 carry +挑 挑.12 carry +挑 挑.13 carry +挑 挑.14 raise 推翻 推翻.1 repudiate 推翻 推翻.2 repudiate 推翻 推翻.3 repudiate -推翻 推翻.4 repudiate +推翻 推翻.4 overthrow 推翻 推翻.5 repudiate 推翻 推翻.6 repudiate -推翻 推翻.7 repudiate -推翻 推翻.8 repudiate +推翻 推翻.7 overthrow +推翻 推翻.8 overthrow 推翻 推翻.9 repudiate -推翻 推翻.10 repudiate +推翻 推翻.10 overthrow 旗帜 旗帜.1 stand 旗帜 旗帜.2 stand 旗帜 旗帜.3 stand -旗帜 旗帜.4 banner +旗帜 旗帜.4 stand 旗帜 旗帜.5 stand -旗帜 旗帜.6 stand -旗帜 旗帜.7 banner +旗帜 旗帜.6 banner +旗帜 旗帜.7 stand 旗帜 旗帜.8 stand 旗帜 旗帜.9 stand 旗帜 旗帜.10 stand -旗帜 旗帜.11 stand -旗帜 旗帜.12 stand -旗帜 旗帜.13 stand +旗帜 旗帜.11 banner +旗帜 旗帜.12 banner +旗帜 旗帜.13 banner 旗帜 旗帜.14 model 旗帜 旗帜.15 stand -旗帜 旗帜.16 banner -旗帜 旗帜.17 stand -旗帜 旗帜.18 stand -日子 日子.1 day -日子 日子.2 life +旗帜 旗帜.16 stand +旗帜 旗帜.17 banner +旗帜 旗帜.18 banner +日子 日子.1 date +日子 日子.2 date 日子 日子.3 life -日子 日子.4 life -日子 日子.5 life -日子 日子.6 life -日子 日子.7 life -日子 日子.8 life -日子 日子.9 life +日子 日子.4 date +日子 日子.5 date +日子 日子.6 date +日子 日子.7 day +日子 日子.8 date +日子 日子.9 day 日子 日子.10 date -日子 日子.11 life -日子 日子.12 life -日子 日子.13 life +日子 日子.11 day +日子 日子.12 day +日子 日子.13 day 日子 日子.14 life -日子 日子.15 life -日子 日子.16 life -日子 日子.17 life -日子 日子.18 life -日子 日子.19 life +日子 日子.15 day +日子 日子.16 day +日子 日子.17 date +日子 日子.18 day +日子 日子.19 date 日子 日子.20 life -日子 日子.21 life -日子 日子.22 life -日子 日子.23 life -日子 日子.24 life +日子 日子.21 day +日子 日子.22 date +日子 日子.23 date +日子 日子.24 day 日子 日子.25 life 日子 日子.26 life -日子 日子.27 life +日子 日子.27 date 日子 日子.28 life 日子 日子.29 life -日子 日子.30 life +日子 日子.30 day 日子 日子.31 life 日子 日子.32 life 望 望.1 gaze @@ -549,7 +549,7 @@ 望 望.11 gaze 望 望.12 gaze 望 望.13 gaze -本 本.1 book +本 本.1 foundation 本 本.2 book 本 本.3 book 本 本.4 book @@ -560,24 +560,24 @@ 本 本.9 book 本 本.10 book 本 本.11 foundation -本 本.12 book +本 本.12 foundation 本 本.13 foundation -本 本.14 book -本 本.15 book -本 本.16 book +本 本.14 foundation +本 本.15 foundation +本 本.16 foundation 本 本.17 foundation -本 本.18 book -本 本.19 book -本 本.20 book -本 本.21 book -本 本.22 book -本 本.23 book +本 本.18 foundation +本 本.19 capital +本 本.20 foundation +本 本.21 capital +本 本.22 capital +本 本.23 capital 本 本.24 capital -本 本.25 book -机组 机组.1 set_of_machines -机组 机组.2 set_of_machines -机组 机组.3 set_of_machines -机组 机组.4 set_of_machines +本 本.25 capital +机组 机组.1 aircrew +机组 机组.2 aircrew +机组 机组.3 aircrew +机组 机组.4 aircrew 机组 机组.5 set_of_machines 机组 机组.6 set_of_machines 机组 机组.7 set_of_machines @@ -590,7 +590,7 @@ 机组 机组.14 set_of_machines 气息 气息.1 spirit 气息 气息.2 spirit -气息 气息.3 spirit +气息 气息.3 smell 气息 气息.4 spirit 气息 气息.5 spirit 气息 气息.6 spirit @@ -598,10 +598,10 @@ 气息 气息.8 spirit 气息 气息.9 spirit 气息 气息.10 spirit -气息 气息.11 spirit -气息 气息.12 spirit +气息 气息.11 smell +气息 气息.12 smell 气息 气息.13 smell -气息 气息.14 spirit +气息 气息.14 smell 气象 气象.1 meteorology 气象 气象.2 meteorology 气象 气象.3 meteorology @@ -613,66 +613,66 @@ 气象 气象.9 meteorology 气象 气象.10 meteorology 气象 气象.11 atmosphere -气象 气象.12 meteorology -气象 气象.13 meteorology +气象 气象.12 atmosphere +气象 气象.13 atmosphere 气象 气象.14 meteorology -气象 气象.15 meteorology +气象 气象.15 atmosphere 气象 气象.16 atmosphere 牌子 牌子.1 brand -牌子 牌子.2 plate -牌子 牌子.3 plate -牌子 牌子.4 plate -牌子 牌子.5 plate +牌子 牌子.2 brand +牌子 牌子.3 brand +牌子 牌子.4 brand +牌子 牌子.5 brand 牌子 牌子.6 plate -牌子 牌子.7 plate -牌子 牌子.8 plate -牌子 牌子.9 plate +牌子 牌子.7 brand +牌子 牌子.8 brand +牌子 牌子.9 brand 牌子 牌子.10 plate -牌子 牌子.11 plate -牌子 牌子.12 plate -牌子 牌子.13 plate +牌子 牌子.11 brand +牌子 牌子.12 brand +牌子 牌子.13 brand 牌子 牌子.14 brand 牌子 牌子.15 plate -牌子 牌子.16 plate +牌子 牌子.16 brand 牌子 牌子.17 plate 看 看.1 depend_on 看 看.2 depend_on 看 看.3 depend_on 看 看.4 depend_on -看 看.5 depend_on +看 看.5 consider 看 看.6 depend_on 看 看.7 depend_on -看 看.8 depend_on -看 看.9 depend_on +看 看.8 consider +看 看.9 consider 看 看.10 depend_on -看 看.11 depend_on +看 看.11 see 看 看.12 see -看 看.13 depend_on -看 看.14 depend_on -看 看.15 depend_on +看 看.13 see +看 看.14 consider +看 看.15 see 看 看.16 depend_on -看 看.17 depend_on -看 看.18 depend_on -看 看.19 depend_on +看 看.17 see +看 看.18 see +看 看.19 consider 看 看.20 depend_on -看 看.21 consider -看 看.22 depend_on -看 看.23 depend_on -看 看.24 depend_on -看 看.25 depend_on -看 看.26 depend_on +看 看.21 think +看 看.22 think +看 看.23 think +看 看.24 think +看 看.25 consider +看 看.26 consider 看 看.27 depend_on -看 看.28 depend_on -看 看.29 depend_on -看 看.30 depend_on -看 看.31 depend_on -看 看.32 depend_on -看 看.33 depend_on -看 看.34 depend_on +看 看.28 consider +看 看.29 consider +看 看.30 see +看 看.31 consider +看 看.32 consider +看 看.33 consider +看 看.34 consider 眼光 眼光.1 foresight 眼光 眼光.2 foresight 眼光 眼光.3 foresight -眼光 眼光.4 foresight +眼光 眼光.4 eye 眼光 眼光.5 foresight 眼光 眼光.6 foresight 眼光 眼光.7 foresight @@ -682,24 +682,24 @@ 眼光 眼光.11 foresight 眼光 眼光.12 foresight 眼光 眼光.13 foresight -眼光 眼光.14 foresight +眼光 眼光.14 eye 菜 菜.1 vegetable -菜 菜.2 dish +菜 菜.2 vegetable 菜 菜.3 vegetable 菜 菜.4 vegetable 菜 菜.5 vegetable -菜 菜.6 dish +菜 菜.6 vegetable 菜 菜.7 vegetable -菜 菜.8 vegetable +菜 菜.8 dish 菜 菜.9 vegetable 菜 菜.10 vegetable -菜 菜.11 vegetable +菜 菜.11 dish 菜 菜.12 vegetable -菜 菜.13 vegetable +菜 菜.13 dish 菜 菜.14 vegetable -菜 菜.15 vegetable -菜 菜.16 vegetable -菜 菜.17 vegetable +菜 菜.15 dish +菜 菜.16 dish +菜 菜.17 dish 菜 菜.18 vegetable 菜 菜.19 vegetable 补 补.1 supply @@ -715,21 +715,21 @@ 补 补.11 supply 补 补.12 supply 补 补.13 supply -补 补.14 supply +补 补.14 nourish 补 补.15 nourish -补 补.16 supply -补 补.17 supply -补 补.18 supply -补 补.19 supply +补 补.16 nourish +补 补.17 nourish +补 补.18 nourish +补 补.19 nourish 补 补.20 nourish 表面 表面.1 face 表面 表面.2 appearance -表面 表面.3 face +表面 表面.3 appearance 表面 表面.4 face 表面 表面.5 appearance 表面 表面.6 face 表面 表面.7 face -表面 表面.8 face +表面 表面.8 appearance 表面 表面.9 face 表面 表面.10 face 表面 表面.11 face @@ -740,119 +740,119 @@ 表面 表面.16 face 表面 表面.17 face 表面 表面.18 face -说明 说明.1 show +说明 说明.1 explain 说明 说明.2 show 说明 说明.3 show 说明 说明.4 show 说明 说明.5 show 说明 说明.6 show -说明 说明.7 show -说明 说明.8 show -说明 说明.9 show +说明 说明.7 explain +说明 说明.8 explain +说明 说明.9 explain 说明 说明.10 show -说明 说明.11 show -说明 说明.12 show -说明 说明.13 show -说明 说明.14 show +说明 说明.11 explain +说明 说明.12 explain +说明 说明.13 explain +说明 说明.14 explain 说明 说明.15 show -说明 说明.16 show -说明 说明.17 show -说明 说明.18 show +说明 说明.16 explain +说明 说明.17 explain +说明 说明.18 explain 赶 赶.1 rush_for 赶 赶.2 rush_for 赶 赶.3 rush_for 赶 赶.4 rush_for -赶 赶.5 rush_for +赶 赶.5 drive 赶 赶.6 rush_for 赶 赶.7 rush_for 赶 赶.8 rush_for 赶 赶.9 rush_for 赶 赶.10 rush_for -赶 赶.11 rush_for -赶 赶.12 rush_for -赶 赶.13 rush_for +赶 赶.11 drive +赶 赶.12 drive +赶 赶.13 drive 赶 赶.14 rush_for 赶 赶.15 rush_for -赶 赶.16 rush_for +赶 赶.16 happen_to 赶 赶.17 rush_for -赶 赶.18 rush_for -进 进.1 move_forward -进 进.2 enter -进 进.3 enter -进 进.4 enter -进 进.5 move_forward -进 进.6 enter -进 进.7 enter -进 进.8 enter -进 进.9 enter +赶 赶.18 happen_to +进 进.1 into +进 进.2 into +进 进.3 move_forward +进 进.4 into +进 进.5 into +进 进.6 into +进 进.7 into +进 进.8 into +进 进.9 into 进 进.10 move_forward 进 进.11 enter -进 进.12 move_forward -进 进.13 enter -进 进.14 move_forward +进 进.12 enter +进 进.13 into +进 进.14 enter 进 进.15 enter 进 进.16 enter -进 进.17 enter -进 进.18 move_forward -进 进.19 move_forward +进 进.17 into +进 进.18 enter +进 进.19 enter 进 进.20 enter -进 进.21 enter +进 进.21 buy_in 进 进.22 enter -进 进.23 enter -进 进.24 enter +进 进.23 move_forward +进 进.24 move 进 进.25 enter -进 进.26 enter -进 进.27 enter -进 进.28 enter +进 进.26 move_forward +进 进.27 move_forward +进 进.28 move_forward 进 进.29 move_forward -进 进.30 enter +进 进.30 move_forward 进 进.31 enter 进 进.32 enter 进 进.33 enter 进 进.34 enter -进 进.35 enter -进 进.36 enter -进 进.37 enter -进 进.38 enter -进 进.39 enter -进 进.40 enter -进 进.41 enter -进 进.42 enter -进 进.43 enter -进 进.44 enter +进 进.35 move +进 进.36 move +进 进.37 move +进 进.38 move +进 进.39 move +进 进.40 move +进 进.41 move +进 进.42 move +进 进.43 move +进 进.44 move 道 道.1 technique -道 道.2 road -道 道.3 road -道 道.4 road +道 道.2 technique +道 道.3 technique +道 道.4 technique 道 道.5 road -道 道.6 road +道 道.6 technique 道 道.7 road 道 道.8 road 道 道.9 road -道 道.10 road -道 道.11 road +道 道.10 technique +道 道.11 technique 道 道.12 road 道 道.13 road 道 道.14 road 道 道.15 road 道 道.16 doctrine 道 道.17 road -道 道.18 road -镜头 镜头.1 shot -镜头 镜头.2 shot -镜头 镜头.3 shot -镜头 镜头.4 shot +道 道.18 technique +镜头 镜头.1 lens +镜头 镜头.2 lens +镜头 镜头.3 lens +镜头 镜头.4 lens 镜头 镜头.5 shot 镜头 镜头.6 shot 镜头 镜头.7 shot 镜头 镜头.8 shot -镜头 镜头.9 shot -镜头 镜头.10 shot -镜头 镜头.11 shot -镜头 镜头.12 shot -镜头 镜头.13 shot +镜头 镜头.9 lens +镜头 镜头.10 lens +镜头 镜头.11 lens +镜头 镜头.12 lens +镜头 镜头.13 lens 镜头 镜头.14 shot -镜头 镜头.15 shot +镜头 镜头.15 lens 长城 长城.1 the_Great_Wall 长城 长城.2 the_Great_Wall 长城 长城.3 the_Great_Wall @@ -865,17 +865,17 @@ 长城 长城.10 the_Great_Wall 长城 长城.11 the_Great_Wall 长城 长城.12 the_Great_Wall -长城 长城.13 the_Great_Wall +长城 长城.13 ChangCheng 长城 长城.14 the_Great_Wall -长城 长城.15 the_Great_Wall -长城 长城.16 the_Great_Wall +长城 长城.15 ChangCheng +长城 长城.16 ChangCheng 长城 长城.17 the_Great_Wall 长城 长城.18 the_Great_Wall -长城 长城.19 impregnable_bulwark -长城 长城.20 the_Great_Wall -长城 长城.21 impregnable_bulwark +长城 长城.19 the_Great_Wall +长城 长城.20 impregnable_bulwark +长城 长城.21 the_Great_Wall 队伍 队伍.1 contingent -队伍 队伍.2 contingent +队伍 队伍.2 ranks 队伍 队伍.3 contingent 队伍 队伍.4 contingent 队伍 队伍.5 contingent @@ -883,23 +883,23 @@ 队伍 队伍.7 contingent 队伍 队伍.8 contingent 队伍 队伍.9 contingent -队伍 队伍.10 contingent -队伍 队伍.11 contingent +队伍 队伍.10 troops +队伍 队伍.11 ranks 队伍 队伍.12 contingent -队伍 队伍.13 contingent +队伍 队伍.13 ranks 队伍 队伍.14 contingent 队伍 队伍.15 contingent -队伍 队伍.16 contingent +队伍 队伍.16 ranks 队伍 队伍.17 contingent -队伍 队伍.18 contingent -队伍 队伍.19 contingent +队伍 队伍.18 ranks +队伍 队伍.19 ranks 队伍 队伍.20 contingent -队伍 队伍.21 contingent -队伍 队伍.22 contingent -震惊 震惊.1 be_shocked -震惊 震惊.2 be_shocked +队伍 队伍.21 ranks +队伍 队伍.22 ranks +震惊 震惊.1 shock +震惊 震惊.2 shock 震惊 震惊.3 be_shocked -震惊 震惊.4 be_shocked +震惊 震惊.4 shock 震惊 震惊.5 be_shocked 震惊 震惊.6 be_shocked 震惊 震惊.7 be_shocked @@ -910,26 +910,26 @@ 震惊 震惊.12 be_shocked 震惊 震惊.13 be_shocked 震惊 震惊.14 be_shocked -面 面.1 surface +面 面.1 face 面 面.2 face -面 面.3 surface +面 面.3 face 面 面.4 face -面 面.5 surface +面 面.5 face 面 面.6 face -面 面.7 face +面 面.7 surface 面 面.8 face 面 面.9 face 面 面.10 face 面 面.11 face 面 面.12 face -面 面.13 face +面 面.13 flour 面 面.14 face 面 面.15 face 面 面.16 face -面 面.17 face +面 面.17 surface 面 面.18 surface -面 面.19 face -面 面.20 face +面 面.19 surface +面 面.20 surface 面 面.21 face 面 面.22 face 面 面.23 surface diff --git a/src/ANN.pyc b/src/ANN.pyc deleted file mode 100644 index ffef3e9..0000000 Binary files a/src/ANN.pyc and /dev/null differ diff --git a/src/ANN_loader.pyc b/src/ANN_loader.pyc deleted file mode 100644 index 500aad4..0000000 Binary files a/src/ANN_loader.pyc and /dev/null differ diff --git a/src/Feature_Extractor.pyc b/src/Feature_Extractor.pyc deleted file mode 100644 index 2c6f436..0000000 Binary files a/src/Feature_Extractor.pyc and /dev/null differ diff --git a/src/Feature_parser.pyc b/src/Feature_parser.pyc deleted file mode 100644 index cf40fe1..0000000 Binary files a/src/Feature_parser.pyc and /dev/null differ diff --git a/src/activation.pyc b/src/activation.pyc deleted file mode 100644 index 3233c7d..0000000 Binary files a/src/activation.pyc and /dev/null differ diff --git a/src/base_wsd.py b/src/base_wsd.py index cc7a0f3..811fb5b 100644 --- a/src/base_wsd.py +++ b/src/base_wsd.py @@ -4,6 +4,8 @@ import os +from util import evaluate + class BaseWSDI(object): def __init__(self): @@ -19,15 +21,11 @@ def load_features(self, path, test=False): tokens = line.split('|') feature = {} for t in tokens[:-1]: - fname, fvalue = t.strip().split('=') + fname = t.strip() + fvalue = 1 feature[fname] = fvalue # if loading test features, the label is the word_num, like 中医.1 label = tokens[-1].strip() - if len(feature) != 10: - assert len(feature) == 8, 'Invalid feature instance: %s' % line - # fill the chunk features with NULL - feature['PW'] = 'NULL' - feature['PT'] = 'NULL' features_label.append((feature, label)) # convert the numeric feature values from string to number for svm use if self._numeric_feature_value: @@ -103,7 +101,10 @@ def get_words(path): return words @classmethod - def run(cls): + def run(cls, eval_flag=True): + """ + @param eval_flag: if eval_flag is True, the evaluation output is given. + """ ROOT = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) wsd = cls() TRAIN_DIR = os.path.join(ROOT, 'train/') @@ -131,4 +132,7 @@ def run(cls): print 'Finish %d of %d: %s' % (count, len(test_words), word) result_obj.close() print 'Write testing results to %s' % RESULT_PATH + if eval_flag: + answerfile = os.path.join(ROOT, 'result/test_answer') + evaluate(RESULT_PATH, answerfile) return None diff --git a/src/max_entropy.py b/src/max_entropy.py index eb145cb..4b31b5a 100644 --- a/src/max_entropy.py +++ b/src/max_entropy.py @@ -12,7 +12,7 @@ def __init__(self): pass def train(self, features_label): - self._classifier = MaxentClassifier.train(features_label, algorithm='iis', trace=0, max_iter=80) + self._classifier = MaxentClassifier.train(features_label, algorithm='iis', trace=0, max_iter=40) return None diff --git a/src/svm.py b/src/svm.py index 3a346e4..a39654a 100644 --- a/src/svm.py +++ b/src/svm.py @@ -10,10 +10,10 @@ class SVMWSD(BaseWSDI): def __init__(self): super(SVMWSD, self).__init__() - self._numeric_feature_value = True + self._numeric_feature_value = False def train(self, features_label): - svm = SklearnClassifier(SVC(C=10.0, gamma=0.0001)) + svm = SklearnClassifier(SVC(C=1000.0, gamma=0.0001)) self._classifier = svm.train(features_label) return None diff --git a/src/svm_numeric_method.py b/src/svm_numeric_method.py new file mode 100644 index 0000000..e43670b --- /dev/null +++ b/src/svm_numeric_method.py @@ -0,0 +1,90 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- + +import os + +from nltk.classify import SklearnClassifier +from sklearn.svm import SVC + +from base_wsd import BaseWSDI +from util import evaluate + + +class SVMWSD(BaseWSDI): + def __init__(self): + super(SVMWSD, self).__init__() + self._numeric_feature_value = True + + def load_features(self, path, test=False): + features_label = [] + with open(path, 'rb') as f: + for line in f: + line = line.decode('utf-8') + tokens = line.split('|') + feature = {} + for t in tokens[:-1]: + # fname = t.strip() + # fvalue = 1 + fname, fvalue = t.strip().split('=') + feature[fname] = fvalue + # if loading test features, the label is the word_num, like 中医.1 + label = tokens[-1].strip() + features_label.append((feature, label)) + # convert the numeric feature values from string to number for svm use + if self._numeric_feature_value: + self._convert_feature_value(features_label, test=test) + return features_label + + + def train(self, features_label): + svm = SklearnClassifier(SVC(C=1000.0, gamma=0.0001)) + self._classifier = svm.train(features_label) + return None + + @classmethod + def run(cls, eval_flag=True): + """ + @param eval_flag: if eval_flag is True, the evaluation output is given. + """ + ROOT = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) + wsd = cls() + # TRAIN_DIR = os.path.join(ROOT, 'train/') + # TEST_DIR = os.path.join(ROOT, 'test/') + TRAIN_DIR = os.path.join(ROOT, 'features_archive/0-2-2/train/') + TEST_DIR = os.path.join(ROOT, 'features_archive/0-2-2/test/') + TEST_NAME_FILE = os.path.join(ROOT, 'test/namefile') + RESULT_PATH = os.path.join(ROOT, 'result/%s_result.txt' % cls.__name__) + cls.result_path = RESULT_PATH + + # clear the file RESULT_PATH + with open(RESULT_PATH, 'wb') as f: + pass + + result_obj = open(RESULT_PATH, 'ab') + + count = 0 + test_words = cls.get_words(TEST_NAME_FILE) + for word in test_words: + test_path = os.path.join(TEST_DIR, word) + train_path = os.path.join(TRAIN_DIR, word) + features_label = wsd.load_features(train_path) + wsd.train(features_label) + result = wsd.classify(test_path) + wsd.dump_result(result, result_obj) + count += 1 + print 'Finish %d of %d: %s' % (count, len(test_words), word) + result_obj.close() + print 'Write testing results to %s' % RESULT_PATH + if eval_flag: + answerfile = os.path.join(ROOT, 'result/test_answer') + evaluate(RESULT_PATH, answerfile) + return None + + +def main(): + wsd = SVMWSD() + wsd.run() + + +if __name__ == '__main__': + main() diff --git a/src/xmlneural.pyc b/src/xmlneural.pyc deleted file mode 100644 index 2101b6f..0000000 Binary files a/src/xmlneural.pyc and /dev/null differ