Commit 45735e9d authored by Sebastien Robin's avatar Sebastien Robin

we are sometimes interested in fields with a match lower than 0.5

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@34262 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 70dbeea7
...@@ -821,7 +821,7 @@ class ERP5Form(ZMIForm, ZopePageTemplate): ...@@ -821,7 +821,7 @@ class ERP5Form(ZMIForm, ZopePageTemplate):
# return 0 # return 0
# XXX keyword match is not useful anymore.Need different approach. # XXX keyword match is not useful anymore.Need different approach.
keyword_match_rate = check_keyword_list(field_id, extract_keyword(id_)) keyword_match_rate = check_keyword_list(field_id, extract_keyword(id_))
if keyword_match_rate>0.5: if keyword_match_rate>0.3:
return keyword_match_rate return keyword_match_rate
else: else:
def split(string): def split(string):
......
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