mirror of
https://github.com/hpware/news-analyze.git
synced 2025-06-23 21:14:23 +00:00
Update the README & news system to NOT match news from the same org 🤦♂️
This commit is contained in:
parent
6f759cb612
commit
629d033702
2 changed files with 7 additions and 1 deletions
|
@ -182,7 +182,7 @@ const useArgFindRel = (title, newsOrg) => {
|
|||
if (
|
||||
item.title !== title &&
|
||||
item.contentType === "GENERAL" &&
|
||||
item.publisher === newsOrg
|
||||
item.publisher !== newsOrg
|
||||
) {
|
||||
const itemVector = tf(item.title);
|
||||
const similarity = jaccardSimilarity(targetVector, itemVector);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue