| 1 | # imperative |
| 2 | |
| 3 | > **Check the mood of a word** |
| 4 | |
| 5 | [](https://codecov.io/gh/crate-ci/imperative) |
| 6 | [][Documentation] |
| 7 |  |
| 8 | [][Crates.io] |
| 9 | |
| 10 | |
| 11 | ## [Contribute](CONTRIBUTING.md) |
| 12 | |
| 13 | ## Special Thanks |
| 14 | |
| 15 | Thank you to [pydocstyle](https://github.com/PyCQA/pydocstyle/) for the algorithm and data set. |
| 16 | |
| 17 | ### Regenerating the wordlist |
| 18 | |
| 19 | If you change `assets/imperatives.txt` or `assets/imperatives_blacklist.txt`, run |
| 20 | |
| 21 | ```bash |
| 22 | env SNAPSHOTS=overwrite cargo test |
| 23 | ``` |
| 24 | to regenerate the `wordlist_codegen.rs` file while running tests. |
| 25 | |
| 26 | ## License |
| 27 | |
| 28 | Licensed under either of |
| 29 | |
| 30 | * Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or <https://www.apache.org/licenses/LICENSE-2.0>) |
| 31 | * MIT license ([LICENSE-MIT](LICENSE-MIT) or <https://opensource.org/license/mit>) |
| 32 | |
| 33 | at your option. |
| 34 | |
| 35 | ### Contribution |
| 36 | |
| 37 | Unless you explicitly state otherwise, any contribution intentionally |
| 38 | submitted for inclusion in the work by you, as defined in the Apache-2.0 |
| 39 | license, shall be dual-licensed as above, without any additional terms or |
| 40 | conditions. |
| 41 | |
| 42 | [Crates.io]: https://crates.io/crates/imperative |
| 43 | [Documentation]: https://docs.rs/imperative |