gndr_rust

Crates.iogndr_rust
lib.rsgndr_rust
version0.1.0
sourcesrc
created_at2020-07-29 11:28:12.72631
updated_at2020-07-29 11:28:12.72631
descriptionUses advanced techniques and algorithms to determine the gender of a user by just fucking asking them.
homepage
repositoryhttps://gitlab.com/pretzelca/gndr_rust
max_upload_size
id270901
size6,003
Evie Viau (uwueviee)

documentation

https://docs.rs/gndr_rust/

README

gndr: Determine gender programmatically (Rust Edition)

Original Package

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.

Example

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" ]
    }
    **/
}

License

MIT, but I hope you aren't actually thinking of using this

Commit count: 2

cargo fmt