https://github.com/nfroidure/tribunator
Using NLP to produce metrics on representatives writtings.
https://github.com/nfroidure/tribunator
democratization politics tech4good
Last synced: about 1 year ago
JSON representation
Using NLP to produce metrics on representatives writtings.
- Host: GitHub
- URL: https://github.com/nfroidure/tribunator
- Owner: nfroidure
- Created: 2023-04-30T16:49:29.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-03-27T19:57:26.000Z (about 2 years ago)
- Last Synced: 2025-02-03T18:03:02.595Z (over 1 year ago)
- Topics: democratization, politics, tech4good
- Language: TypeScript
- Homepage: https://keskidiz.nicolasfroidure.fr/
- Size: 68.5 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Tribunator
Analyzing politicals writtings.
## Setup
Install NodeJS and clone the project.
First in a different folder do this:
```sh
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:
```sh
## 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:
```sh
npm run dev
```
## Known issues
Lemmatization is not working properly. May be useful to [see this](http://www.erwanlenagard.com/general/tutoriel-implementer-stanford-corenlp-avec-talend-1354).
## Windows & MAC users
Lol.