GithubHelp home page GithubHelp logo

citizens_document_clustering's Introduction

Citizens Document Clustering

  • Document clustering for Citizens Foundation.

  • Built using document embeddings from Gensim by RaRe-Technologies.

  • Our Doc2Vec model assumes lemmas as input, although inflected words work, too.

  • Icelandic texts are lemmatized using ice_lemmatizer.py, which is built on Reynir by Mideind.

  • English texts are lemmatized using en_lemmatizer.py, which is supported by spaCy.

  • This repository is a work in progress.

Doc2Vec

Includes:

  • A script to train a Doc2Vec model.
  • A script to test a Doc2Vec model.
  • A script to infer a vector from a previously unseen document.
  • A script to get the similarity (float) between all docs in the model.
  • A couple of short texts (not suited for training a reliable model) used for testing.
  • NOTE: This plot is only an example to show the relations between the files.

plot

Spelling

Includes:

  • A script to see if a word is split in two, a common spelling mistake in Icelandic.
    • bílakjallari | *bíla kjallari
  • A script that catches spelling mistakes, based on Word2Vec and probability.

Word2Vec

Includes:

  • A script to train a Word2Vec model.
    • As of now, the model is only used for correction of spelling mistakes.
    • Might be used to classify documents further based on keyword vectors.

License

AGPL

citizens_document_clustering's People

Contributors

atlijas avatar

Stargazers

 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.