Crates.io | whichlang |
lib.rs | whichlang |
version | 0.1.0 |
source | src |
created_at | 2023-05-10 13:09:10.825969 |
updated_at | 2023-05-10 13:09:10.825969 |
description | A blazingly fast and lightweight language detection library for Rust. |
homepage | https://github.com/quickwit-oss/whichlang |
repository | https://github.com/quickwit-oss/whichlang |
max_upload_size | |
id | 861329 |
size | 761,785 |
This is a language detection library, aiming for both precision and performance.
It uses a multiclass logistic regression model over:
We use the hashing trick and project these features over a space of size 4_096
.
The logistic regression is trained in the python notebook attached,
and used to generate weight.rs
.