mirror of
https://github.com/hpware/news-analyze.git
synced 2025-06-23 15:51:01 +08:00
forgot &&
This commit is contained in:
parent
b6f67d9db8
commit
501c1762dc
@ -152,7 +152,7 @@ const useArgFindRel = (title, newsOrg) => {
|
|||||||
const similarities = [];
|
const similarities = [];
|
||||||
|
|
||||||
for (const item of contentArray.value) {
|
for (const item of contentArray.value) {
|
||||||
if (item.title !== title && item.contentType === "GENERAL" item.publisher = newsOrg) {
|
if (item.title !== title && item.contentType === "GENERAL" && item.publisher = newsOrg) {
|
||||||
console.log(item.title);
|
console.log(item.title);
|
||||||
const itemVector = tf(item.title);
|
const itemVector = tf(item.title);
|
||||||
console.log(itemVector);
|
console.log(itemVector);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user