Code Monkey home page Code Monkey logo

Comments (2)

SanghyukChun avatar SanghyukChun commented on August 17, 2024 1

Thanks for your question.
Unfortunately, there is no silver bullet to decomposition mappings.

For instance, we built the Chinese character decomposition table by using the following public CCD table
https://commons.wikimedia.org/wiki/Commons:Chinese_characters_decomposition

For complete-compositional languages such as Korean and Thai,
we parse Unicode to extract the component labels as follows:

For Japanse, as far as I know, you can use the CCD table for Kanji (there might be missing items in the CCD table, but as far as I know, most characters in popular Kanji are covered by the CCD table).

For Kana (Hiragana, Katakana), to my knowledge, there is no specific decomposition rule by its design. Hence, I suggest you manually build a new decomposition table for Kana (e.g., dakuten) or treat them as an "atomic" (i.e., a character has only one component) for convenience.

from lffont.

SanghyukChun avatar SanghyukChun commented on August 17, 2024

Closing the issue, assuming my answer resolves the problem.
Please re-open the issue as necessary.

from lffont.

Related Issues (20)

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.