Skip to content

nfroidure/tribunator

Repository files navigation

Tribunator

Analyzing politicals writtings.

Setup

Install NodeJS and clone the project.

First in a different folder do this:

git clone [email protected]: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.