Comments (6)
The returned values are from ISO 639-3. If anything is inconsistent, it’s ISO 639-2 with is double codes!
from franc.
@RafaPolit I think this isn’t an issue, so I’m closing it, but feel free to reply below if you disagree!
from franc.
@wooorm, Thanks for the answer.
It is not that I disagree, it is that it is not so! You are not being consistent with 639-3 as noted above: for example, arm which you are using for Armenian is not a 639-3 accepted code. hye is the accepted 639-3 code:
from franc.
Where do you see arm
being used, instead of hye
?
On the website, when pasting in some Armenian, I get hye
back:
from franc.
I apologize, we must have taken the info from an outdated or simply plain wrong list.
You are correct, hye is being returned for Armenian.
Sorry for the inconvenience, I'll double check my data in further issues!
from franc.
No problem, maybe you’re using an old version of franc? Or something else? Let me know if this still is a problem!
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.