Giter Site home page Giter Site logo

bra1ndump / google-wrapped Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 47.18 MB

Spotify Wrapped but for your Google Searches. SparkNLP

License: GNU Affero General Public License v3.0

Jupyter Notebook 7.42% Dockerfile 1.70% Python 28.11% HTML 5.22% Stata 0.12% TypeScript 44.63% CSS 5.39% JavaScript 7.41%

google-wrapped's Introduction

Start web server

cd web
npm install
npm run watch

Re-create datasets-client

Important - run spark in Codespaces, not tested on macOS. Previously expereinced installation issues.

Nesessary for the client to run on device inference. The datasets contain words for different classes, for example politics, sex and health.

To get the bags of words for categories defined in spark_pipeline.py, run create_bags_of_words.ipynb, and split the output into separate files. It runs SparkNLP classifier on all english words from http://www.mieliestronk.com/wordlist.html and splits them into themes of interest.

The classifier is reused from the previous server side classification that would run user's searches through it. Thus a lot of confusing naming.

Place the files in datasets-client, format as bag_.txt. These will be fetched from the client.

Web server (Spark setup, old, now processing on javascript side)

Start with gunicorn --reload 'server:app'

google-wrapped's People

Contributors

bra1ndump avatar

Stargazers

 avatar

Watchers

 avatar  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.