Comments (3)
Hello Michael, thank you very much for trying my library.
I'm sorry, the compilation problem you are describing is actually my fault. I updated the include_dir
dependency in the language model crates but forgot to tell the lingua
crate that it should keep using the older version of the include_dir
dependency for Lingua version 1.3.2. The cause was a wrong declaration of the language model crate versions in the Cargo.toml
file.
I've just committed a fix for this and made a new Lingua release 1.3.3. Please use this new release and the compilation problem will disappear.
from lingua-rs.
Do you know the best way to get the proper IsoCode639_3 code from the full name that LanguageDetector returns?
Please take a look at the API docs. There are methods that return the ISO codes for a given language.
from lingua-rs.
Thank you! I have it working now, and it's working quite well.
isocode.rs appears to be a to_upper and to_lower system that only works for valid 2 letter and 3 letter Country abbreviations. Do you know the best way to get the proper IsoCode639_3 code from the full name that LanguageDetector returns? I could probably just grep/regex the isocode.rs file into a rust hashmap (ie ("Russian", "RUS"), etc as the language name is in the comment.
Have a great day!
from lingua-rs.
Related Issues (20)
- Make lazy-loading of language models optional
- Add confidence metric for single language HOT 7
- setMinimumRelativeDistance doesn't seem to work in the WASM build. HOT 1
- Long runtime of language detection HOT 7
- Add low accuracy mode
- Make each language a separate feature HOT 1
- Add absolute confidence metric
- Reduce resources to load language models HOT 3
- Add builder pattern to WASM API
- Let LanguageDetectorBuilder::build() return a Result HOT 3
- Add WASM support HOT 12
- Add traditional vs simplified chinese support HOT 4
- Language detector is sometimes non-deterministic HOT 2
- Memory leak HOT 2
- Intermittant error: linking with `cc` failed: exit status: 1 HOT 1
- Bug in iso_code_639_3() debug print HOT 3
- How to rebuild existing language models? HOT 1
- feature flag to disable wasm HOT 3
- Failing to compile lingua 1.0.2 HOT 3
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 lingua-rs.