Git Product home page Git Product logo

java-string-similarity's People

Contributors

abdielou avatar dependabot[bot] avatar gernotstarke avatar madkrupt avatar rrice avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

java-string-similarity's Issues

Add the optimized version of dice cofficient?

Could you consider adding another version of Dice algorithm as this one is considered a more accurate and optimized version.

https://en.wikibooks.org/wiki/Algorithm_Implementation/Strings/Dice%27s_coefficient#Java

  • Here's an optimized version of the dice coefficient calculation. It takes
  • advantage of the fact that a bigram of 2 chars can be stored in 1 int, and
  • applies a matching algorithm of O(nlog(n)) instead of O(nn).
  • Note that, at the time of writing, this implementation differs from the

  • other implementations on this page. Where the other algorithms incorrectly
  • store the generated bigrams in a set (discarding duplicates), this
  • implementation actually treats multiple occurrences of a bigram as unique.
  • The correctness of this behavior is most easily seen when getting the
  • similarity between "GG" and "GGGGGGGG", which should obviously not be 1.
  • @param s The first string
  • @param t The second String
  • @return The dice coefficient between the two input strings. Returns 0 if one
  •     or both of the strings are {@code null}. Also returns 0 if one or both
    
  •     of the strings contain less than 2 characters and are not equal.
    
  • @author Jelle Fresen
    */

Maven dependcy not found

Hi just included it to my pom.xml but Intellij did not found it :( Is there something I looked over?

        <dependency>
            <groupId>net.ricecode</groupId>
            <artifactId>string-similarity</artifactId>
            <version>1.0.0</version>
        </dependency>

multilanguage similarity

Hello!
Can the java-string-similarity be applied to many languages such as Germany,French,Chinese and so on.Can it be is relative to language type?

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.