Giter Site home page Giter Site logo

vardidanielle / lawreferralgenerator Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 208 KB

Chrome extension to refer Israeli laws to their links in the Knesset website.

JavaScript 30.23% Python 41.92% CSS 21.71% HTML 6.14%
referral generator law laws javascript regex digital-humanities

lawreferralgenerator's Introduction

Law Referral Generator

This repo is a chrome extension to find and highlight Israeli laws on any website.

The current version is based on Regex search and works with Hebrew text only.

When the extension finds a law in your website it will generate a link to the law details in The Israeli National Legislative Database.

Background

Many website users meet references to laws or sections of law and cannot simply refer to the requested law or the section within it.

The Mission

Development of a tool or plugin for a browser that knows how to run an HTML file, identify and capture names of rules and sections that appear on the page, translate them into a URI, and use them to display the current version of the section as it appears in the full XML database.

An example of such a tool can be seen in Safria's referral network for Jewish Religious Literature. In this project, we want to convert to this task in the field of legislation.

Installation

  • Download the extension fiels.

  • Extract the zip file.

  • In your Chrome browser, navigate to chrome://extensions.

  • Expand the Developer drop down and click “Load unpacked extension.”

  • Navigate to the directory where you put your code and click Ok.

At this point, the extension is installed and running.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

In case you want to change something in the code and check it locally on your PC you need to load the extension again.

License

This project is part of an academic course on Digital Humanities at Ben Gurion University and collaborative work with The Israeli Ministry Of Justice.

lawreferralgenerator's People

Contributors

vardidanielle avatar yishayna avatar

Watchers

 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.