Lexica based text analysis.
As crates.io is a pain in the ass, this module will download the lexica from GitHub at build time.
```rust mod ragegun;
fn main() { let rg = ragegun::RageGun::new("foo");
dbg!(rg.age()); // value like 30.00
} ```
```rust mod ragegun;
fn main() { let rg = ragegun::RageGun::new("foo");
rg.gender() // value like GenderInterpretation::Female
} ```
```rust mod ragegun;
fn main() { let rg = ragegun::RageGun::new("foo");
dbg!(rg.distress()); // value like 1.00
} ```
```rust mod ragegun;
fn main() { let rg = ragegun::RageGun::new("foo");
dbg!(rg.perma());
// PERMAAnalysis {
// positive_emotion: Negative,
// engagement: Negative,
// relationships: Postive,
// meaning: Negative,
// accomplishment: Negative,
// }
} ```
```rust mod ragegun;
fn main() { let rg = ragegun::RageGun::new("foo");
dbg!(rg.emolex_all_languages());
// EmoLexEmotions {
// anger: Neutral,
// anticipation: Neutral,
// disgust: Neutral,
// fear: Neutral,
// joy: Neutral,
// negative: Neutral,
// positive: Neutral,
// sadness: Neutral,
// surprise: Neutral,
// trust: Neutral,
// }
} ```
```rust mod ragegun;
fn main() { let rg = ragegun::RageGun::new("foo");
dbg!(rg.emolex_english());
// EmoLexEmotions {
// anger: Neutral,
// anticipation: Neutral,
// disgust: Neutral,
// fear: Neutral,
// joy: Neutral,
// negative: Neutral,
// positive: Neutral,
// sadness: Neutral,
// surprise: Neutral,
// trust: Neutral,
// }
} ```