Code Monkey home page Code Monkey logo

hangulizer's Introduction

hangulizer

Phoneme to Grapheme converter (P2G) between roman and hangul script for LING83600. Takes a text containing romanization of Korean lemms and produces list of likely equivalents in Hangul script.

To use: [python3 (shebang added but untested due to dev issues)] hangulize.py [--Syllable] source [output (hangul.txt by default)]

Note: --Syllable flag increases range of outputs and increases accuracy at possible cost to run-time performance.

Required:

Common Issues:

  • Software assumes that provided forms are romanizations of Hangul graphemes. As such, assumes syllable composition to be VALID PHONETIC APPROXIMATIONS OF KOREAN WORDS. Usage of English exclusive phonemes (/f/, /v/, /z/) will result in ERROR token in output text string. -Above issue also applies to mophological restrictions in Korean. (e.g. conversion of "string"). Will result in runtime error. (Future work intends to alleviate this issue.)

Thanks to:

-Pynini: K. Gorman. 2016. [Pynini: A Python library for weighted finite-state grammar compilation] (http://openfst.cs.nyu.edu/twik/pub/GRM/Pynini/pynini-paper.pdf).
In Proc. ACL Workshop on Statistical NLP and Weighted Automata, 75-80.

-Jamotools

-Wiktionary for Korean Lemmas and associated romanizations.

-Universal Dependencies Treebank for Training Data.

-OpenFst group: Cyril Allauzen, Michael Riley, Johan Schalkwyk, Wojciech Skut and Mehryar Mohri, "OpenFst: A General and Efficient Weighted Finite-State Transducer Library", Proceedings of the Ninth International Conference on Implementation and Application of Automata, (CIAA 2007), volume 4783 of Lecture Notes in Computer Science, pages 11-23. Springer, 2007. http://www.openfst.org.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.