Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could you upload the code to generate handwriting formulas? #11

Open
ZizhenWang opened this issue Mar 29, 2018 · 6 comments
Open

Could you upload the code to generate handwriting formulas? #11

ZizhenWang opened this issue Mar 29, 2018 · 6 comments

Comments

@ZizhenWang
Copy link

Hi~I want to generate some handwriting image, can you share your code?

@da03
Copy link
Collaborator

da03 commented Mar 29, 2018

Hmm sorry we have not cleaned up the code yet, but the synthetic handwritten dataset can be found here: http://lstm.seas.harvard.edu/latex/data/ (at the bottom of the page)

@TyrionChou
Copy link

Hi,author
I want to know you how to replace individual symbols?
Getting character position information through pdflatex or writing program to render by yourself

@mikewlange
Copy link

Hi. https://github.com/search?q=CROHME. And https://github.com/ThomasLech/CROHME_extractor in particular will help you create the data you need. (I think, of course I don't know the specifics of what you're looking for)

However, just to thorw it out there... most AI/ML is munging data for your models. I highly recommend you incorporate building your own data sets into your education regimen, it will serve you better than pretty much any other data science skill(imho and from years of doing so)

Cheers!

@w32zhong
Copy link

w32zhong commented Oct 31, 2019

@da03 I am wondering how you can replace the horizontal fraction line into hand-written style as shown in your paper, any idea?

@da03
Copy link
Collaborator

da03 commented Oct 31, 2019

Hi @t-k- , it's the same for fraction line or other symbols. I was using mathjax to render latex equations to SVG format, and since in SVG we have paths for each symbolid, we can simply replace each path to the corresponding handwritten path which is kindly provided by the detexify author (but we need to figure out the mapping from symbol to id, which can be found in mathjax code).

@w32zhong
Copy link

@da03 Thank you for your reply, that helps a lot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants