Crates.io | gndr_rust |
lib.rs | gndr_rust |
version | 0.1.0 |
source | src |
created_at | 2020-07-29 11:28:12.72631 |
updated_at | 2020-07-29 11:28:12.72631 |
description | Uses advanced techniques and algorithms to determine the gender of a user by just fucking asking them. |
homepage | |
repository | https://gitlab.com/pretzelca/gndr_rust |
max_upload_size | |
id | 270901 |
size | 6,003 |
gndr
is a breakthrough in automated gender detection.
It uses advanced techniques and algorithms to determine the gender of a user by just fucking asking them.
The API couldn't be simpler. All you need to do is ask the user what gender they identify as along with what pronouns they use, and the library will give you back which gender they are with 100% accuracy. Incredible.
use gndr_rust::*;
fn main() {
// what is this user's gender and pronouns?
let gender = identify_gender("non-binary".to_string(), vec!["he".to_string(), "they".to_string()]);
/**
Result:
Gndr{
gender: "non-binary",
pronouns: [ "he", "they" ]
}
**/
}
MIT, but I hope you aren't actually thinking of using this