lingua-rs
glium
Our great sponsors
lingua-rs | glium | |
---|---|---|
9 | 17 | |
820 | 3,388 | |
- | 0.9% | |
8.9 | 8.0 | |
11 days ago | about 1 month ago | |
Rust | Rust | |
Apache License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
lingua-rs
-
I created a program that finds out which anki cards out of 50_000 are in english and deletes them in 2 minutes
Discovery of Lingua: While working on a different project, I discovered the Lingua library.
- Lingua 1.5.0 - The most accurate natural language detection library for Rust, now with support for detecting multiple languages in mixed-language text
-
Opensourcing Whichlang, a fast language detection library for Rust! 🚀 ⚡
It is. Have you tried with this PR though? (Disclaimer: I made that PR) It'll most likely still be slower, but at least it shouldn't be catastrophically slower when using multiple threads.
-
Whatlang 0.15.0 released (lightweight lib for language recognition)
How does it compare to lingua?
- Announcing Lingua 1.4: The most accurate natural language detection library for Rust - now with WASM support
- Announcing Lingua 1.3 - The most accurate natural language detection library for Rust
-
Whatlang strikes back
For those who don't know me: I'm the author of Lingua. I've just made a comparison between the current Lingua version 1.2.0 and the new Whatlang 0.12.0. In fact, the detection accuracy of Whatlang has increased from 65% in version 0.11.1 to 74% in version 0.12.0 on average across all supported languages and detection tasks. You can find the detailed comparison here. In short:
-
Text Rendering
Language detection -> Lingua
glium
-
I don't understand how dependencies work
I am trying to follow to this tutorial on glium and I can't even get a window to show up because of what I assume to be a lack of comprehension on my end about how dependencies work.
-
Cargo build feature issue: Building winit problem, says no features specified
Which is blocked, waiting for glium to update: https://github.com/glium/glium/pull/2036
-
OpenGL crates: gl vs glow vs glium
https://crates.io/crates/glium (8 months ago - 925 kB)
-
Questions about Glium framework
The book is a great place to look at https://github.com/glium/glium/tree/master/book And glium itself is a bit outdated might be good to look at alternatives like glow
-
[Media] Visualizing scientific data in rust
Hi rustaceans! I glued this prototype together with vtkio and glium. There are more features that are unsupported than supported at this point, but the code is here if you want to check it out: https://github.com/JeffIrwin/skillet
-
[GLIUM] - how to pass structs as uniforms to shaders
https://github.com/glium/glium/issues/941 is the relevant Glium bug/feature request. Long story short, structs as uniforms aren't supported by Glium's current design, it looks like.
-
should i learn glium?
Should i learn glium (https://crates.io/crates/glium)? i have some experience in opengl (C++) and i would like to use the opengl functionality in the Rust ecosystem.
-
How to abstract OpenGL for future use?
I can recommend https://github.com/glium/glium as a good, safe abstraction. There was a time when I wanted to learn shaders and write complex pipelines with several stages, this library allowed me to learn about the important objects and their responsibilities without having to program the very verbose chunks of code to initialize. I learned the following:
-
Where to find resources to learn OpenGL with Rust ?
Glium is a Rust-y OpenGL wrapper, and its repository contains a discussion that should give you an idea whether this is what you want to use, as well as some tutorial.
-
Workaround for counter that goes out of scope
With a gluim window open, I want to count the number of user clicks and retain the number after the window is closed. In order to keep the program running after the window is closed, I had to change event_loop.run to event_loop.run_return and I think that means all variables will be moved into the closure and my counter goes out of scope.
What are some alternatives?
lingua-py - The most accurate natural language detection library for Python, suitable for short text and mixed-language text
glow - GL on Whatever: a set of bindings to run GL anywhere and avoid target-specific code
whatlang-rs - Natural language detection library for Rust. Try demo online: https://whatlang.org/
glutin - A low-level library for OpenGL context creation, written in pure Rust.
crates.io - The Rust package registry
gfx - [maintenance mode] A low-overhead Vulkan-like GPU API for Rust.
allsorts - Font parser, shaping engine, and subsetter implemented in Rust
wgpu - Cross-platform, safe, pure-rust graphics api.
whatlang-accuracy-benchmark - Accuracy benchmarks for Whatlang
learn-wgpu - Guide for using gfx-rs's wgpu library.
sonic - 🦔 Fast, lightweight & schema-less search backend. An alternative to Elasticsearch that runs on a few MBs of RAM.
kiss3d - Keep it simple, stupid 3d graphics engine for Rust.