korean-romanize 0.2.0

Romanize Korean (Hangul) to the Latin alphabet.
Documentation
  • Coverage
  • 100%
    3 out of 3 items documented1 out of 3 items with examples
  • Size
  • Source code size: 64.59 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.67 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 47s Average build duration of successful builds.
  • all releases: 45s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • tblelrd/romanize-korean
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • tblelrd

korean-romanize

korean-romanize is a Rust Library to romanize hangul (korean script) into the latin alphabet.

This crate is very early in development, and I do not know how to speak korean, so any help would be much appreciated! (I wrote this crate to help romanize foreign lyrics my lyrics program.)

Currently able to do up to the palatalization section of this document.

Usage

To romanize:

assert_eq!(&korean_romanize::convert("안녕히 가세요"), "annyeonghi gaseyo");

To check if a string has korean characters:

assert!(korean_romanize::has_korean("안녕"));
assert!(korean_romanize::has_korean("안녕 Hello"));
assert!(!korean_romanize::has_korean("Hello"));

Acknoledgements

This project could not have been started without:

  • kakasi
    • For the general structure of the project.
  • korean
    • For converting unicode to jana.