2017 © Pedro Pelรกez
 

library korean-romanizer

Library to romanize Korean in UTF-8 format

image

liopic/korean-romanizer

Library to romanize Korean in UTF-8 format

  • Friday, May 8, 2015
  • by liopic
  • Repository
  • 1 Watchers
  • 10 Stars
  • 24,174 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 2 Versions
  • 23 % Grown

The README.md

Build Status SensioLabsInsight Code Climate Latest Stable Version Monthly Downloads License, (*1)

korean-romanizer

PHP 5.4+ library to romanize Korean in UTF-8 format., (*2)

Description

Uses the "Revised Romanization of Korean (๊ตญ์–ด์˜ ๋กœ๋งˆ์ž ํ‘œ๊ธฐ๋ฒ•)" which is the official Korean language romanization system in South Korea proclaimed by Ministry of Culture, Sports and Tourism. Wikipedia page., (*3)

Notice that this is different from transliteration, which comes implemented in PHP's intl extension (Transliterator class). For example, "์™•์‹ญ๋ฆฌ" subway stop is transliterated as "wangsibli" but romanized as "wangsimni" (which is closer to the Korean pronuntiation)., (*4)

Usage

First add this library as requirement in your composer.json file. If you are not familiar with Composer, please read its documentation first., (*5)

{
  "require": {
    "liopic/korean-romanizer": "~1.0"
  }
}

Then create a new KoreanRomanizer\Romanizer() instance with the Korean text in UTF-8 you want to romanize. For example:, (*6)

require "vendor/autoload.php";

$example = new KoreanRomanizer\Romanizer("์•ˆ๋…• ํ•˜์„ธ์š”");
echo $example->romanize(); //Displays "annyeong haseyo"

The Versions

08/05 2015

dev-master

9999999-dev https://github.com/liopic/php-Korean-romanizer

Library to romanize Korean in UTF-8 format

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

romanization korean romanize hangul hangeul hangugeo

20/01 2015

1.0

1.0.0.0 https://github.com/liopic/php-Korean-romanizer

Library to romanize Korean in UTF-8 format

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

romanization korean romanize hangul hangeul hangugeo