1 unstable release
0.1.0 | Apr 11, 2021 |
---|
#1138 in Text processing
11KB
83 lines
igpay-atinlay: convert text to Pig Latin
Bart Massey 2021 (version 0.1.0)
Text to Pig Latin conversion.
This crate began as a solution to Exercise 8.2 in The Rust Programming Language. The innocuous-looking phrase "Keep in mind the details about UTF-8 encoding!" in that exercise conceals a world of pain.
At the end of the day, Pig Latin is not a well-defined dialect. This program will produce questionable results for complicated cases and non-Romance languages (for which the underlying crate has no idea of extra vowels). It will probably produce nonsense answers on "exotic" languages.
Authors
-
Reddit /u/AlexRodger wrote the original code.
-
Reddit /u/hjd_thd rewrote to get an FP solution.
-
Reddit /u/po8 rewrote again into a more production-grade version. The rewrite ended up being pretty from-scratch.
License
This crate is made available under the "MIT
license". Please see the file LICENSE
in this distribution
for license terms.
Acknowledgments
Thanks to the cargo-readme
crate for generation of this README
.
Dependencies
~3–4MB
~89K SLoC