Giter Club home page Giter Club logo

parlamenti_felszolalasok's Introduction

parlamenti_felszolalasok

Parlamenti felszolalasok letolteseval, rendszerezesevel es feldolgozasaval kapcsolatos scriptek.

szukseges: python3 eddig linuxon volt tesztelve

install:

git clone https://github.com/boapps/parlamenti_felszolalasok
cd parlamenti_felszolalasok
python3 -m venv .env
source .env/bin/activate
pip install -r requirements.txt # ez sok ido lesz

hasznalat:

python dl.py # ez letolti az aktualis ciklus parlamenti politikusainak aktualis ciklusban tett felszolalasait a raw.csv-be

python pre.py # a raw.csv-bol kiszedi a sallangokat, az eredmenyt beirja a preprocessed.csv-be

python train.py # a preprocessed.csv alapjan betanit egy szovegkategorizalo neuralis halot, a model mappaba menti az eredmenyt

python rsstest.py # a modelt lefutattja nehany hirportal utolso nehany belpolitikaval kapcsolatos cikken

A scriptek Orosz György magyar nyelvű spacy modeljét használják: https://github.com/spacy-hu/spacy-hungarian-models

A kod nagy resze eleg ronda lett, majd javitom ha lesz egy kis szabadidom, illetve jelenleg csak az aktualis ciklusrol gyujt infot, ez terveim szerint valtozni fog.

Mindenfele politikai elfogultsagot visszautasitok, ez a projekt kizarolag kutatasi celbol jott letre es semmikep sem lejartni egyes politikai partokat, kepviseloket lapokat vagy ujsagirokat.

A hirtportalok politikai oldal szerinti osztalyzasa nem celom es a scriptek eredmenyet nem tartom beszamithatonak, mert kepviseloi felszolalasokon tanitottt neuralis halozat (tobb okbol, amire itt nem terek ki) nem kepes hibatlanul kategorizalni cikkeket.

Az adathalmazt tartalmazo csv fajlok github releasebol elerhetok

Lescrapeltem még egy csomó információt a parlament.hu-ról, amit nem használtam fel, de még valakinek jól jöhet, ezért ezt is kitettem releasebe.

parlamenti_felszolalasok's People

Contributors

boapps avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.