Skip to content

Prototype able to interpret privacy notices with AI, and visualize compatibility with user preferences

License

Notifications You must be signed in to change notification settings

chenoekl/privacy-butler

 
 

Repository files navigation

Privacy Butler

Many people like you and I feel that we are unable to cope with all the various privacy notices we have to deal with on a daily basis. Our data is important to us, and indeed defines our online identity.

Your Privacy Butler will help you to understand any privacy notices. Simply tell Privacy Butler which data processing is a “no go” for you. It converts the privacy notice into icons that show you immediately whether your desired data protection standard is met or not.

This project was started at the Swiss Legal Tech 2018 hackathon in Zürich, Switzerland. The original challenge idea can be found here.

Demo

You can see a screencast of the working demo here

Backend

The backend uses Java with Spring Boot 2 and communicates with the Google Cloud Natural Language API. You have to create the credentials yourself in order to be able to communicate with Google Cloud.

Find the backend project files here and instructions to get started in the legal-hackathon-backend folder.

Frontend

The frontend uses Typescript with Angular 6 and Material Design as a styling framework addition to Angular.

You can find the frontend project files and build instructions in legal-hackathon-frontend.

Splash

There is also a static HTML launch page defined in index.html with resources in the web folder. The design template used is HTML5 UP, with jQuery and FontAwesome.

Check the markup for an Easter egg..and a modest proposal on using schema in META tags to publish web site policy in machine readable form. See our reading list below.

Data

We used the Google Cloud Natural Language API in this project for rapid analysis of policy texts. See Quickstart, NL Samples, and Java samples for Google Cloud Platform.

You will need to obtain a developer key from the Cloud API console to use our current backend.

We also ran a short machine learning classification experiment using an open dataset of opt-out policies from usableprivacy.org in the Keras.io deep learning environment. The results can be seen in a Python notebook made with Jupyter, in the ml subfolder.

The dataset used in the experiment above was one of the ones recommended by Pribot.org, a project that was a major motivation for our work here. Many thanks to Dr. Harkous for feedback to our concept during the hackathon.

We also considered using IBM Watson (see Fredrik Stenbeck comparison - and OpenNLP at Apache.

References

Further reading, in no particular order.

Online policy tools

Machine learning

Policy documentation

About

Prototype able to interpret privacy notices with AI, and visualize compatibility with user preferences

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 49.1%
  • HTML 20.1%
  • Jupyter Notebook 12.1%
  • JavaScript 7.4%
  • Java 6.4%
  • TypeScript 4.9%