nlp_xiaojiang/result_test/result_sentence_sim_feature.txt
2019-04-09 15:26:07 +08:00

37 lines
2.1 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Connected to pydev debugger (build 171.3780.115)
D:\workspace\pythonMyCode\django_project\nlp_xiaojiang
load w2v model begin
load w2v model success
Building prefix dict from the default dictionary ...
Loading model from cache C:\Users\MOYONG~1\AppData\Local\Temp\jieba.cache
Loading model cost 0.719 seconds.
set_data time0.7200782299041748
Prefix dict has been built succesfully.
same_word_count time0.0
same_char_count time0.0
sentence_length time0.0
w2c_all_vec time0.1994335651397705
tdidf_all_vec time0.0
edit_all_str time0.0019953250885009766
jaccard系数 time0.0
tdidf_all_vec_pinyin time0.0
edit_all_pinyin time0.004553556442260742
jaccard系数pinyin time0.0
sim:
[1, 3, 1, 1.1, 5.238095238095238, 0.6782572237857507, 3461.1677906854284, 283.83272299933014, 19.980963040347838, 0.9999999999966667, 3.0830289870500565, 19.980963040347838, 24.494821131252575, 79619.83774188746, -5.10379204991808, 0.6769724044408956, 0.0, 12, 9, 0.2857142857142857, 0.5242424242424243, 19, 19, 2, 8.141546895617283, 0.08333333333333333, 0.16666666666666666, 0.008081558347970244, 17, 22, 0.5217391304347826, 0.6838686096962837, 56, 47, 4, 6.190419904893637, 0.11764705882352941, 0.11764705882352941]
s1: 你打篮球很像我
s2: 你足球踢得很渣呀
set_data time0.0009706020355224609
same_word_count time0.0009982585906982422
same_char_count time0.0
sentence_length time0.0
w2c_all_vec time0.20846796035766602
tdidf_all_vec time0.0
edit_all_str time0.0019943714141845703
jaccard系数 time0.0
tdidf_all_vec_pinyin time0.0
edit_all_pinyin time0.0019960403442382812
jaccard系数pinyin time0.0
sim:
[2, 3, 1, 0.875, 3.7333333333333334, 0.8200504988005877, 3746.94646712115, 236.48076447923086, 17.65693370974129, 0.9999999999966667, 4.2634280025959015, 17.65693370974129, 24.494877087856107, 78956.49194315828, -13.367107715032754, 0.8200018973656127, 0.07174613344073014, 21, 6, 0.4, 0.6011904761904762, 40, 40, 1, 5.620521171774245, 0.2, 0.25, 0.36243089354552877, 10, 15, 0.5384615384615384, 0.6417797888386123, 62, 58, 5, 6.01776904578638, 0.25, 0.25]
s1: