Skip to content

cleopatra-itn/news-cartography-analysis

Repository files navigation

News Cartography Analysis

Setup

Create a virtual environment with Python 3

python3 -m venv venv

Activate the virtual environment

source venv/bin/activate

Install the python libraries

pip3 install -r requirements.txt

Install Spacy English model

python3 -m spacy download en_core_web_sm

Install Spacy Portuguese model

python3 -m spacy download pt_core_news_sm

Entity recognition and disambiguation

To start extraction process provide the following parameters, languages: English: en, Portuguese: pt:

Run the sample file for English

python preprocess_documents.py -i en_input_dir -o en_output_dir -l en

Run the sample file for Portuguese

python preprocess_documents.py -i pt_input_dir -o pt_output_dir -l pt

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages