GithubHelp home page GithubHelp logo

dotrado / simhashdb Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jsubercaze/simhashdb

0.0 1.0 0.0 3.72 MB

Text retrieval database based on simhash similarity search

License: Apache License 2.0

Java 100.00%

simhashdb's Introduction

SimhashDB

SimhashDB is a fast and scalable framework for searching nearest neighbor documents using Simhash algorithm.

The framework is made of the following submodule

  • Core : SimHash algorithm
  • KNN : In memory database for nearest neighbor search
  • Text transform : Tools to transform text into binary footprint
  • Text transform Terrier: Tools to transform text into binary footprint using the Terrier IR engine
  • Examples : some code samples
  • KNN Benchmark : jmh benchmark to assess KNN performance

Basics

The core module transforms any Map of key values where keys are String and value are Double into a binary footprint (BitSet). The KNN module offers the storage layer where binary footprints are inserted and requested. The storage is in-memory only for now. Nearest neighbor documents can be searched with either a top-k or Hamming ball query.

Performance

Sample use

Clone the git repository and run mvn install Alternatively see the Maven Section to use the github hosted repository

Maven

First you need to setup the server in your pom.xml :

<repositories>
  <repository>
    <id>simhashdb-mvn-repo</id>
    <url>https://raw.github.com/jsubercaze/simhashdb/mvn-repo/</url>
    <snapshots>
        <enabled>true</enabled>
        <updatePolicy>always</updatePolicy>
    </snapshots>
  </repository>
</repositories>

Then use the following dependency :

<dependency>
 <groupId>fr.ujm.tse.lt2c.satin</groupId>
  <artifactId>simhashdb</artifactId>
  <version>0.0.2-SNAPSHOT</version>
</dependency>

Publication

If you used Simhashdb in a publication please contact me so that I add it to the list

  • Julien Subercaze, Christophe Gravier, Frederique Laforest. Real-Time, Scalable, Content-based Twitter users recommendation. Web Intelligence and Agent Systems : An International Journal (WIAS), 2015 PDF

simhashdb's People

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.