lingua-rs
allsorts
Our great sponsors
lingua-rs | allsorts | |
---|---|---|
9 | 10 | |
820 | 696 | |
- | 3.0% | |
8.9 | 8.4 | |
11 days ago | 4 months 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
allsorts
- Cosmic Text: Pure Rust multi-line text handling
-
Is it conveninent to make cross-platform GUI softwares using Rust now?
But again you don't need to reinvent text layout from scratch (that's my discussion, BTW) if you use the platform's native text drawing facilities, like DirectWrite on Windows, or CoreText on macOS.
-
Getting a pointer to a field of an enum
All these layers of Cows create an extremely complex lifetime tree and it's actually not possible to factor out the complex parsing steps into functions because they depend on a lot of stuff. (trying to return an OutlineBuilder from a function would dangling reference about 3 different temporaries, for example. Obtaining the temporaries is part of the parsing step)
-
Rust's Option and Result. In Python.
machine learning, neural networks, image processing, cryptography (though it is getting better), font shaping/rendering (though it is getting better), CPU/software rendering (though it is getting better)
-
What's the project you're currently working on at your company as a Rust developer?
It can be used for the things you suggest but our driving use case is font parsing. The goal is to use it to generate the font parsing code in Allsorts, which is ultimately used in Prince.
-
Question: Expected webrender impact, or influence, on emacs redisplay
Use allsorts or rustbuzz for text shaping
- Text Rendering w/ HarfBuzz, FreeType and OpenGL
-
Text Rendering
Loader -> Allsorts
-
Speedy2D: Easy-to-use library for graphics, text, and input events
It's something I'd like to improve on in future -- are there any pure-Rust libraries you'd recommend for shaping? Allsorts looks quite promising.
- Ask HN: How do you use Rust at work?
What are some alternatives?
lingua-py - The most accurate natural language detection library for Python, suitable for short text and mixed-language text
rustybuzz - A complete harfbuzz's shaping algorithm port to Rust
whatlang-rs - Natural language detection library for Rust. Try demo online: https://whatlang.org/
rust-harfbuzz - Rust bindings to HarfBuzz
crates.io - The Rust package registry
pathfinder - A fast, practical GPU rasterizer for fonts and vector graphics
whatlang-accuracy-benchmark - Accuracy benchmarks for Whatlang
glium - Safe OpenGL wrapper for the Rust language.
sonic - 🦔 Fast, lightweight & schema-less search backend. An alternative to Elasticsearch that runs on a few MBs of RAM.
fontdue - The fastest font renderer in the world, written in pure rust.
RedReader - An unofficial open source Android app for Reddit.