mirror of
https://github.com/hpware/news-analyze.git
synced 2025-06-23 15:51:01 +08:00
Update the README & news system to NOT match news from the same org 🤦♂️
This commit is contained in:
parent
6f759cb612
commit
629d033702
@ -14,9 +14,15 @@ Deploy: [via docker compose](/deploy.md)
|
|||||||
|
|
||||||
Goals before the next devlog: [Markdown file](/GOALS_BEFORE_NEXT_DEVLOG.md)
|
Goals before the next devlog: [Markdown file](/GOALS_BEFORE_NEXT_DEVLOG.md)
|
||||||
|
|
||||||
|
Video Guide: [YouTube](https://youtu.be/8P3qgVm6m6g)
|
||||||
|
|
||||||
## Demo:
|
## Demo:
|
||||||
https://yhw.tw/news
|
https://yhw.tw/news
|
||||||
|
|
||||||
|
## Video Guide
|
||||||
|
|
||||||
|
https://github.com/user-attachments/assets/29414c5d-3b2f-420d-93c0-95c14a15bbb7
|
||||||
|
|
||||||
## Issues:
|
## Issues:
|
||||||
### Onboarding:
|
### Onboarding:
|
||||||
Onboarding is a must for most people that are using the app for the first time, but I want to do to via a non-video like system, however implementing the function in a already large repo is kinda hard. So later this week, I will just add a basic video onboarding system.
|
Onboarding is a must for most people that are using the app for the first time, but I want to do to via a non-video like system, however implementing the function in a already large repo is kinda hard. So later this week, I will just add a basic video onboarding system.
|
||||||
|
@ -182,7 +182,7 @@ const useArgFindRel = (title, newsOrg) => {
|
|||||||
if (
|
if (
|
||||||
item.title !== title &&
|
item.title !== title &&
|
||||||
item.contentType === "GENERAL" &&
|
item.contentType === "GENERAL" &&
|
||||||
item.publisher === newsOrg
|
item.publisher !== newsOrg
|
||||||
) {
|
) {
|
||||||
const itemVector = tf(item.title);
|
const itemVector = tf(item.title);
|
||||||
const similarity = jaccardSimilarity(targetVector, itemVector);
|
const similarity = jaccardSimilarity(targetVector, itemVector);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user