Giter VIP home page Giter VIP logo

Comments (6)

matanox avatar matanox commented on August 15, 2024

Seems to equally apply to the Algorithm.STANDARD algorithm.
It starts popping up when maxDistance is increased to 3, although this last comment is of circumstantial nature. Possibly people typically only go up until 2.

from liblevenshtein-java.

dylon avatar dylon commented on August 15, 2024

Hi,

What do you mean by, findAll results? Also, please provide a test case that demonstrates the issue.

from liblevenshtein-java.

matanox avatar matanox commented on August 15, 2024

Sorry about that, it was the name of my Scala wrapper around tranduce. It will take a huge amount of creativity being able to demonstrate this without providing the proprietary lexicon... but it should be demonstrated in a reproducible way, I know. Lets put it on hold until I get to that.

from liblevenshtein-java.

dylon avatar dylon commented on August 15, 2024

Okay. In the meantime, please test your wrapper against version 2.2.0, as the issue #6 was a pretty bad bug and may be the root cause of this.

from liblevenshtein-java.

matanox avatar matanox commented on August 15, 2024

On first examination, looks like the bug I reported here consistently reproduces with 2.1.2 but not with 2.2.0. I will check again tomorrow. Any idea how the fix for #6 may have solved this?

from liblevenshtein-java.

dylon avatar dylon commented on August 15, 2024

Yes, I do. Depending on the terms provided, some of the non-final nodes were overwriting the final ones, and vice-versa. The way the final nodes were stored missed a few edge cases. The tiny list I was using for testing happened to not have such terms, which is how the bug made it to production.

While debugging #6, I encountered similar behavior to what this issue describes, which is why I recognized it as the likely root cause.

from liblevenshtein-java.

Related Issues (20)

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.