mirror of https://gitlab.com/bashrc2/epicyon
Reduce the similarity threshold a little
parent
21ec5ca9de
commit
c8946805b9
2
posts.py
2
posts.py
|
@ -5036,7 +5036,7 @@ def editedPostFilename(baseDir: str, nickname: str, domain: str,
|
||||||
if debug:
|
if debug:
|
||||||
print(id2 + ' might be an edit of ' + id1)
|
print(id2 + ' might be an edit of ' + id1)
|
||||||
if wordsSimilarity(prevPostJsonObject['object']['content'],
|
if wordsSimilarity(prevPostJsonObject['object']['content'],
|
||||||
postJsonObject['object']['content'], 10) < 75:
|
postJsonObject['object']['content'], 10) < 70:
|
||||||
return ''
|
return ''
|
||||||
print(id2 + ' is an edit of ' + id1)
|
print(id2 + ' is an edit of ' + id1)
|
||||||
return prevConvPostFilename
|
return prevConvPostFilename
|
||||||
|
|
Loading…
Reference in New Issue