hellonlp commited on
Commit
76683a2
·
verified ·
1 Parent(s): fb51833

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +14 -2
README.md CHANGED
@@ -74,6 +74,18 @@ def get_similarity_two(sentence1, sentence2):
74
  sentence1 = '你好吗'
75
  sentence2 = '你还好吗'
76
  result = get_similarity_two(sentence1,sentence2)
77
- print(result)
78
- #0.7996
 
 
 
 
 
 
 
 
 
 
 
 
79
  ```
 
74
  sentence1 = '你好吗'
75
  sentence2 = '你还好吗'
76
  result = get_similarity_two(sentence1,sentence2)
77
+ print(result) #0.7996
78
+ #(1.0, '你好吗')
79
+ #(0.8247, '你好不好')
80
+ #(0.8217, '你现在好吗')
81
+ #(0.7976, '你还好吗')
82
+ #(0.7918, '你好不好呢')
83
+ #(0.712, '你过的好吗')
84
+ #(0.6986, '你怎么样')
85
+ #(0.6693, '你')
86
+ #(0.5442, '你好个鬼')
87
+ #(0.4516, '你吃饭了吗')
88
+ #(0.4, '我好开心啊')
89
+ #(0.29, '我不开心')
90
+ #(0.2782, '我吃了一个苹果')
91
  ```