Skip to main content

Grep the Greek Parliament

Project description

GreParl

A simple web-app-based Search Engine built on top of the Greek Parliament Proceedings

Screenshot of GreParl's Index page

Name

grep + Greek Parliament

Install - GreParl Package

  1. Run (ideally in a fresh venv) pip install greparl
  2. Download the required data files and, if needed, decompress them in the desired directory (see below)

Install - Data File Dependencies

The required data files that are not shipped along with the package include the Search Engine's indices, the parliament proceedings' file and some other tasty stuff.

Those files should be decompressed in the same directory from which the user will run the GreParl.

Alternatively, all required files (apart from speeches.csv) can be auto-generated.

Run

  1. Activate venv
  2. Run greparl or python -m greparl and wait for signs of life..
  3. The default browser should open up automatically, but if not, browse to "http://127.0.0.1:5000/" manually

Features

Search

Screenshot of Index with typed keyword

You can either search for a specific speech, or preview a random one (totally original..).

Results

Screenshot of Search Results

You can preview the speeches in Results page. No pagination is available at time.

Deep Search

Screenshot of Deep Search Results

You can perform a deeper search which will return speeches that are similar not identical to query.

Speech View

Screenshot of a Random Speech

You can read a specific speech and/or its metadata. Also, in Speech page, a shortcut is provided for highlighting the current speech.

Highlights

Screenshot of Highlights Screen with typed Speech

You can find the most important keywords of a specific speech or set of speeches.

Screenshot of Highlights

Speech sets can be grouped by parties or parliament members and can be limited using date ranges.

Screenshot of Highlights Screen with typed Party

Similarities

Screenshot of Similarities Screen

You can compare parliament members to find out who tend to speak about the same topics the most.

Προβλέψεις

Screenshot of Predictions

You can predict the party that is likely to have said an arbitrary phrase of choice.

Screenshot of Predictions Results

Important Notes

The author of this package is not the creator of Search Engine's core. All credits should go to Theodoros Grammenos' work. This project is just a graphical wrapper, trying to make life easier :D

Also, note that this projects ships a modified version of alup's greek_stemmer, which is originally distributed under MIT License.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

GreParl-0.3.tar.gz (38.0 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page