koroman
Version:
KOROMAN: Korean Romanizer with pronunciation rules based on 국립국어원 표기법
39 lines (36 loc) • 858 B
JavaScript
// js/koroman.cjs
// KOROMAN: Korean Romanizer (CommonJS Entry)
const {
romanize,
splitHangulToJamos,
composeJamos,
formatRoman,
applyPronunciationRules,
applyRomanMapping,
applyRomanMappingWithHyphen,
applyCustomDictionary,
restoreCustomDictionary,
setCustomDictionary,
addCustomDictionary,
removeCustomDictionaryEntry,
clearCustomDictionary,
getCustomDictionary,
normalizeCasingOption
} = require('./koroman.core.js');
module.exports = {
romanize,
splitHangulToJamos,
composeJamos,
formatRoman,
applyPronunciationRules,
applyRomanMapping,
applyRomanMappingWithHyphen,
applyCustomDictionary,
restoreCustomDictionary,
setCustomDictionary,
addCustomDictionary,
removeCustomDictionaryEntry,
clearCustomDictionary,
getCustomDictionary,
normalizeCasingOption
};