Giter Site home page Giter Site logo

Issue in detecting English about franc HOT 5 CLOSED

wooorm avatar wooorm commented on May 10, 2024
Issue in detecting English

from franc.

Comments (5)

prasadKodeInCloud avatar prasadKodeInCloud commented on May 10, 2024

Another ex: var lan = franc.all( "School is a bad place for children" ) . Result sco: 1

from franc.

wooorm avatar wooorm commented on May 10, 2024

Duplicate of GH-27, GH-23, GH-16, and GH-8.

from franc.

prasadKodeInCloud avatar prasadKodeInCloud commented on May 10, 2024

ok I am using white list n black list options now. But still better to improve the logic of language detection. There is no open issue issue in the repo regarding this and its misleading.

Thanks!

from franc.

wooorm avatar wooorm commented on May 10, 2024

Great.

I spent ages on this, and you get it for free. I maintain this project. I went out of my way to get it to be MIT licensed. You can basically do anything you want with the code.

Create a PR for the docs / the algorithm if you want to contribute.

from franc.

prasadKodeInCloud avatar prasadKodeInCloud commented on May 10, 2024

No offence. If you maintain an open source library which has issues, you should not just close the issues. I really appreciate your work. Even this does not work when using only two languages. So "This is a not a trade-off: accuracy v.s. amount of supported languages" .I cannot accept any duplicate issues you mentioned here to close this issue.
var matches = franc.all( 'I am not good at detecting languages.What is the best solution for this?' , { 'whitelist' : ['dan','en'] });

from franc.

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.