Our great sponsors
-
lingua-rs
The most accurate natural language detection library for Rust, suitable for short text and mixed-language text
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
Anki-english-sentence-deleter
A project where I use nodejs to scrape anki cards, and rust with concurrency to detect which cards are in english so I can delete them
Discovery of Lingua: While working on a different project, I discovered the Lingua library.
Creating a Node.js Scraper: Initially, I created a web scraper for my Anki collection using Anki Connect and Node.js. I chose Node.js because I believed that using Rust would require defining every field for the response object(later found out I was wrong). Encountered issues: My program kept crashing due to not specifying the query to be of the same type(as I am writing this I realize I could have just did if(note.field == undefined) continue;) or the TypeScript ?. Resorting to single requests: To resolve the issue, I decided to send one request per card, resulting in processing 50,000 cards, which took 15-30 minutes.
Related posts
- Opensourcing Whichlang, a fast language detection library for Rust! 🚀 ⚡
- Announcing Lingua 1.3 - The most accurate natural language detection library for Rust
- 🚀Memory safe, blazing fast, configurable, minimal hello world written in rust(🚀) in a few lines of code with few(1092🚀) dependencies🚀
- Hello World in Rust
- I've Solved Most Class Naming Problems