Skip to main content

Crate mediyap

Crate mediyap 

Source
Expand description

§MediYap

A Rust crate for decoding medical terminology into plain English.

This crate breaks down medical terms by identifying common prefixes, suffixes, and root words, then translates them into human-readable descriptions.

§Examples

use mediyap::MedicalDecoder;

let decoder = MedicalDecoder::new();

assert_eq!(
    decoder.decode("hypoglycemia"),
    "low glucose/sugar presence in blood"
);

assert_eq!(
    decoder.decode("tachycardia"),
    "fast heart"
);

assert_eq!(
    decoder.decode("nephritis"),
    "kidney inflammation"
);

§Medical Term Components

  • Prefixes: hypo- (low), hyper- (high), brady- (slow), tachy- (fast)
  • Suffixes: -emia (presence in blood), -itis (inflammation), -penia (deficiency)
  • Roots: glyc (glucose), card (heart), nephr (kidney), hem (blood)

Structs§

MedicalDecoder