Giter VIP home page Giter VIP logo

Comments (5)

benkiel avatar benkiel commented on August 20, 2024 1

Maybe you don't know about this? robotools/defcon#391 Also, you can use pseudo unicode: split at . see if the first thing has a unicode, use that.

from mm2spacecenter.

benkiel avatar benkiel commented on August 20, 2024 1

To be clear, I'd use something to make a pair list of open/close: BIDI may be good there, then make a mapping file by splitting the suffixes to map to the unicode encoded version, then you can just do a lookup to get the right open/close

from mm2spacecenter.

cjdunn avatar cjdunn commented on August 20, 2024

@benkiel that's a great suggestion! I‘m not going to be working on this for a bit, but @arrowtype this seems like it would be helpful if you're going to keep working on this feature. Thank you both!

from mm2spacecenter.

arrowtype avatar arrowtype commented on August 20, 2024

@benkiel thanks so much for pointing this out!

you can use pseudo unicode: split at . see if the first thing has a unicode, use that.

I think that Wei’s suffix handling feature does essentially this, so it might just be a matter of adapting/extending that to work for open/close punctuation, as well.

And then, using BIDI would probably be a big improvement over our current, simplistic way of just listing a bunch of potential open/close punctuation (which is almost certainly not as comprehensive as BIDI).

from mm2spacecenter.

arrowtype avatar arrowtype commented on August 20, 2024

As a note: I did check whether .case punctuation is handled with the current MM2SC version (0.3.0), and it is not.

from mm2spacecenter.

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.