| Crates.io | mediyap |
| lib.rs | mediyap |
| version | 0.2.1 |
| created_at | 2025-11-29 01:37:10.601089+00 |
| updated_at | 2025-11-29 01:55:37.042337+00 |
| description | A library for decoding medical terminology into plain English |
| homepage | |
| repository | https://github.com/tpglitch/mediyap |
| max_upload_size | |
| id | 1956247 |
| size | 15,975 |
A Rust library for decoding medical terminology into plain English by breaking down prefixes, suffixes, and root words.
Add this to your Cargo.toml:
[dependencies]
mediyap = "0.1.1"
use mediyap::MedicalDecoder;
fn main() {
let decoder = MedicalDecoder::new();
println!("{}", decoder.decode("hypoglycemia"));
// Output: low glucose/sugar presence in blood
println!("{}", decoder.decode("tachycardia"));
// Output: fast heart
println!("{}", decoder.decode("nephritis"));
// Output: kidney inflammation
}
After installation, you can use the mediyap command:
# Decode a single term
mediyap hypoglycemia
# Output: hypoglycemia: low glucose/sugar presence in blood
# Decode multiple terms
mediyap tachycardia bradycardia nephritis
# Output:
# tachycardia: fast heart
# bradycardia: slow heart
# nephritis: kidney inflammation
# Interactive mode (no arguments)
mediyap
# MediYap - Interactive Mode
# Enter medical terms to decode (Ctrl+D or Ctrl+C to exit):
#
# > hypoglycemia
# → low glucose/sugar presence in blood
#
# > arthritis
# → joint inflammation
| Medical Term | Decoded Meaning |
|---|---|
| hypoglycemia | low glucose/sugar presence in blood |
| hyperglycemia | high glucose/sugar presence in blood |
| tachycardia | fast heart |
| bradycardia | slow heart |
| leukemia | white presence in blood |
| anemia | without blood |
| thrombocytopenia | clot cell deficiency |
| arthritis | joint inflammation |
| gastritis | stomach inflammation |
| cardiomegaly | heart enlargement |
hypo- (low)hyper- (high)brady- (slow)tachy- (fast)a-/an- (without)poly- (many)oligo- (few)-emia (presence in blood)-itis (inflammation)-uria (presence in urine)-pathy (disease)-penia (deficiency)-algia (pain)-ectomy (surgical removal)glyc/gluc (glucose/sugar)card/cardi (heart)hem/hemat (blood)nephr/ren (kidney)gastr (stomach)hepat (liver)cargo test
Contributions are welcome! Feel free to submit pull requests to add more medical terms or improve the decoding logic.
This project is licensed under the MIT license. Read the LICENSE file for more info.