Skip to content

Latest commit

 

History

History
44 lines (33 loc) · 951 Bytes

README.md

File metadata and controls

44 lines (33 loc) · 951 Bytes

Tribunator

Analyzing politicals writtings.

Setup

Install NodeJS and clone the project.

First in a different folder do this:

git clone git@github.com:Linguistic/corenlp.git
cd corenlp
docker build --build-arg 'LANGUAGE=french' --build-arg 'CORENLP_VERSION=4.5.2' -t 'corenlp/french' .
docker run -p 9000:9000 corenlp/french

Ensure you installed inkscape and chromium.

Then, run the data ingestion:

## Generate tribunes from raw sources
npm run tribunes
## Or only the one you want
npm run tribunes -- 2023-07-douai-notre-ville.md
## Generate profiles banners
npm run profiles
## Compute writting stats
npm run stats
## Compute presence stats
npm run presences

And finally run the app:

npm run dev

Known issues

Lemmatization is not working properly. May be useful to see this.

Windows & MAC users

Lol.