Skip to content

JustASimpleGuy02/fptnewshub

Repository files navigation

AI1602 - DBP391 PROJECT

Demo

Setup

$ conda create -n dbp python=3.8
$ conda activate dbp
$ pip install -r requirements.txt

Export PYTHONPATH

Ubuntu

$ export PYTHONPATH=$(pwd)

Windows

(cmd) set PYTHONPATH=%PYTHONPATH%;c:\PATH\TO\PROJECT

Extract Mentions by Week

Tải và giải nén thư mục ở link rồi đặt trong thư mục của project fptunewshub.

Running Main

$ streamlit run Main/index.py

Crawling tin tức mới nhất:

$ python Main/crawl.py

Labelling Text

Code for Ubuntu, check the path when run in Windows Change the path to process file Example:

python Labelling/new_preprocess.py Mentions_By_Week/2023-06-19_2023-06-25.csv result.csv
python Labelling/label.py result.csv

About

PROJECT DBP391

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 5