GithubHelp home page GithubHelp logo

java code bug about google-diff-match-patch HOT 2 CLOSED

ugurvu avatar ugurvu commented on June 3, 2024
java code bug

from google-diff-match-patch.

Comments (2)

GoogleCodeExporter avatar GoogleCodeExporter commented on June 3, 2024
any one answer me please 

Original comment by [email protected] on 11 Sep 2008 at 9:37

from google-diff-match-patch.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 3, 2024
Hello alaa,

Thanks for the report.  Both of them return the same thing for me: -1

dmp.Match_Balance = 0.6f;
dmp.Match_Threshold = 0.4f;
System.out.println(dmp.match_main("ZHEJIANG JIANGLONG TEXTILE PRINTING",
    "ZHEJIANG JIANGLIMEI KNITTING CLO", 0));

In both cases, if the Threshold is increased to 0.8, it starts matching.  Note 
that
the pattern is limited to 32 characters, so I dropped the "TH" from the end.

I don't see any discrepancy between the JavaScript and the Java.  Feel free to 
reopen
this bug with more info if you are still seeing this issue.

Original comment by [email protected] on 11 Sep 2008 at 11:25

  • Changed state: Invalid

from google-diff-match-patch.

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.