Comments (5)
Another ex: var lan = franc.all( "School is a bad place for children" )
. Result sco: 1
from franc.
Duplicate of GH-27, GH-23, GH-16, and GH-8.
from franc.
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.
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.
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)
- Improved accuracy for small documents HOT 19
- Regular Expression Denial of Service in trim HOT 1
- Make available for commonJs HOT 2
- How to generate data.js in franc packages HOT 2
- Package update for 5.0.0 HOT 1
- issue
- Link in README broken HOT 1
- Problem to detect language HOT 5
- err "The requested module does not provide an export named 'default'" HOT 1
- Not working for single words like "Hello" HOT 1
- How can I do the same thing on html? HOT 1
- BCI language code
- Language detection error! HOT 3
- Norwegian detected as Deutch HOT 3
- Make a test
- Adding a language HOT 3
- "only" parameter returns always score = 1 HOT 3
- How can I install normally? HOT 1
- npm i franc results in 1 high severity vulnerability upon install HOT 2
- the official example of `only` not working HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from franc.