Reduce the similarity threshold a little

main
Bob Mottram 2021-10-15 10:31:40 +01:00
parent 21ec5ca9de
commit c8946805b9
1 changed files with 1 additions and 1 deletions

View File

@ -5036,7 +5036,7 @@ def editedPostFilename(baseDir: str, nickname: str, domain: str,
if debug:
print(id2 + ' might be an edit of ' + id1)
if wordsSimilarity(prevPostJsonObject['object']['content'],
postJsonObject['object']['content'], 10) < 75:
postJsonObject['object']['content'], 10) < 70:
return ''
print(id2 + ' is an edit of ' + id1)
return prevConvPostFilename