Skip to content

Immanuelbh/HebrewCourtVerdictsAnalyzer

 
 

Repository files navigation

Hebrew Court Verdicts Analyzer

Development

Prerequisites

**Setting up on a new linux server

Installation

Overall flow:

  • Clone project
  • Install modules
  • Initialize environment
  • Run app

Clone project

$ git clone --recurse-submodules https://github.com/Immanuelbh/HebrewCourtVerdictsAnalyzer.git
$ cd HebrewCourtVerdictsAnalyzer/

Install required modules

MacOS

$ python3 -m venv venv
$ source venv/bin/activate
(venv) $ pip3 install -r requirements/requirements.txt

Windows

$ python3 -m venv venv
$ venv\Scripts\activate.bat
(venv) $ pip3 install -r requirements/requirements.txt

ELK stack

Version

Default version is 7.x - there is no need to change the version unless you know what you are doing.

Configured by changing the branch in the .gitmodules file.

branch = release-5.x

Update to different version

$ git submodule update --remote

Commands

Initialise
$ cd env/
$ ./init_env.sh
Shutdown
$ cd env/
$ ./shutdown_env.sh

App

Commands

Run
$ ./init_app.sh
Shutdown
$ ./shutdown_app.sh

Pylint

$ pylint hcva

Interaction

To use the stack, you can use the Elasticsearch API (port 9200) or the DevTools in Kibana (port 5601).

Kibana

  • The first time you log in to Kibana you will have to enter an index pattern. This is used by Kibana to determine which indices the search will be run against.
  • More information on using Kibana can be found in the resources directory

Thank you

This project is part of the two-semester project for the HIT Project Center, led by Dr Yonathan Schler.

Based on: AccessibleCourtData by Liron Revah & Baruh Shalumov.

About

Scrapes the Israeli Supreme Court website, parses all cases and indexes the data - allowing advance searching capabilities based on Elasticsearch.

Resources

License

Stars

Watchers

Forks

Contributors

Languages

  • Python 98.8%
  • Shell 1.2%