Giter Site home page Giter Site logo

trellixvulnteam / penal-law-recognizer_ltxf Goto Github PK

View Code? Open in Web Editor NEW

This project forked from danadvo/penal-law-recognizer

0.0 0.0 0.0 106.58 MB

This project determines if a given section in law is a penalty section. Using: Python- Sqlearn, Pandas, numpy. Node.js- Express. HTML. CSS.

JavaScript 0.05% C++ 0.10% Python 98.55% C 0.52% Fortran 0.02% MATLAB 0.01% PowerShell 0.03% XSLT 0.01% CSS 0.01% TeX 0.05% Makefile 0.01% HTML 0.10% Smarty 0.01% Batchfile 0.01% Jupyter Notebook 0.02% Roff 0.01% VBScript 0.01% Classic ASP 0.01% Cython 0.53%

penal-law-recognizer_ltxf's Introduction

Penalty law recognizer

Written in Python, JavaScript, HTML, CSS, Node.js using Express.

This project was done as part of Digital Humanities election course

As part of collaboration with the department of Justice in Israel, We assist in the process of switching legal documents and documenting method to digital.

The goal of this project:

determine if a given section in law is a penalty section.

How does it work:

You may insert the content of the section (in Hebrew) on the website we've built.

Our program will do the following calculation:

  1. Create data set from the given data [tag, section_content]
  2. Spliting the data into train and test sets (80%-20%)
  3. Create a bag of words
  4. Create a classifier by training the model

Clicking the button will return the classification of the given section (penalty / not penalty)

Running the project:

  1. Run this command in your terminal:

git clone https://github.com/danadvo/penal-law-recognizer.git

  1. Install Python, Sqlearn, Pandas, numPy libraries

  2. Build and run the following command in your terminal:

node server.js

  1. Open your browser on: http://localhost:3000/

You should see this:

screen

  1. Insert the content of the section and press the button

penal-law-recognizer_ltxf's People

Contributors

danadvo avatar roniraz avatar trellixvulnteam 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.