Coder Social home page Coder Social logo

Chinese (Hanzi) about scriptshifter HOT 2 CLOSED

lcnetdev avatar lcnetdev commented on July 24, 2024
Chinese (Hanzi)

from scriptshifter.

Comments (2)

scossu avatar scossu commented on July 24, 2024

Some additional information is needed:

  • Which rare Chinese characters are not romanized? These could be added to the table.
  • Which us are showing incorrectly and which ones are legit? E.g. ้“ transliterates lรผ, but I can't tell which other romanizations are expecting a "รผ".

The extra space issue might be a logic problem. The transliteration table for Hanzi has an added space after each Romanized term, so if punctuation is encountered, there is an unwanted space. I thought I had addressed this but I have to look at the code and get back to this ticket. We may need to define a list of punctuation characters that suppress the space from the preceding token. This could be a good fit for the on_tx_token_match hook: read one extra character (without advancing the index), and if it is one of the punctuation symbols in the above mentioned list, strip whitespace from the end of the current match.

from scriptshifter.

scossu avatar scossu commented on July 24, 2024

Closing this for now, as we are moving toward a whole new Chinese table. We'll open specific issues as they arise.

from scriptshifter.

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.