Commit fd67556d authored by 段英荣's avatar 段英荣

modify

parent 0b096784
...@@ -76,7 +76,7 @@ def get_tips_suggest_list(instance_cn_name): ...@@ -76,7 +76,7 @@ def get_tips_suggest_list(instance_cn_name):
# 简写 # 简写
for i in range(len(py_acronym_full_word)): for i in range(len(py_acronym_full_word)):
#for j in range(i, len(py_acronym_full_word) + 1): #for j in range(i, len(py_acronym_full_word) + 1):
py_acronym_term = py_acronym_full_word[i:j].strip() py_acronym_term = py_acronym_full_word[i].strip()
if py_acronym_term: if py_acronym_term:
prefix_weight = py_acronym_prefix_weight if len(py_acronym_term) != len( prefix_weight = py_acronym_prefix_weight if len(py_acronym_term) != len(
py_acronym_full_word) else py_acronym_full_weight py_acronym_full_word) else py_acronym_full_weight
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment