### z4120's blog

By z4120, history, 20 months ago,

This is the Chinese national training team report papers translated into English using several computer tools.

I find this to be a much way to read these PDF papers than Google Translate or Foxit Reader Translate (despite the limitations -- see below), so I think it may be useful to other people too.

Original papers download:

Auto-translated papers download:

I've only translated some topics, but I will upload more in the future.

Update:

• Better method is used to translate PDF (some PDF uploaded).

Details
• I uploaded the method and programs used to translate those PDFs (previously, the general method is already explained in the remark section).
• I uploaded all the translated LaTeX sources and compiled PDF files of 2020 I've done so far (currently only topic 1 at 2020/1-translated.pdf -- note that the PDF preview feature on the site might not work!; however the source code, programs and methods are all available, anyone can translate and upload them)
• There are some commercial tools for converting PDF back to LaTeX source (Mathpix for example), however they must be paid for and I don't know what the quality would be for Chinese. It would be easier to get the source code.

I'll update all the files if I find some better way to translate those.

I could not find any existing post that does the same thing, despite a lot of blog posts that requests it: 1 2 3 and I find it really hard to copy and paste each line into a translator program (or select each line), and translating the whole thing with Google Translate (or similar) will remove the figures/formulas, so the side-by-side comparison was helpful.

Issues/possible improvements/contributions:

• It's really hard to find a good site/program to translate PDF files. Does anyone know one better than this one?

The one I'm using fails badly sometimes, stretches or shrinks the text. Sample page (low resolution version). However, it's still better than the alternatives (Foxit Reader Translate, Google document translate), which requires highlighting/copying each sentence, scrolling two windows parallelly, and/or overflows the page width so horizontal scrolling is required.

• I suppose that the original Chinese characters are still preserved inside the PDF; however direct copy and paste results in corrupted data.

If anyone can figure out how to extract the Chinese characters without OCR, that would improve the translation quality (because currently the OCR is not perfect, and there are some errors).

(some metadata in a PDF shows that it was made with Microsoft Word 2013 and/or Acrobat 11.0.0)

• The images, math formulas and pseudo code listings are not preserved.

This is a limitation of ABBYY OCR tool. Although it can be fixed manually, I'm not going to do that.

• You can also write (usually English; however Chinese HTML is still easier to translate than Chinese PDF) blog posts to explain the techniques.

• Or find existing content (in English) that describes those techniques.

• +136

 » 20 months ago, # |   +49 Maybe it would help to find original .tex files (or whatever they used) instead of dealing with issues of PDF format. I hope you (or whoever is going to continue) succeed with this translation project because Chinese IOI papers are for sure a source of many algorithms that the rest of the world just doesn't know.
•  » » 20 months ago, # ^ |   +5 As it happens the .tex files is available for the latest papers https://drive.google.com/file/d/1XzLTe20hr19SyY7uQvXL1Ad2GPBcLnIz/view?usp=sharing.
 » 20 months ago, # |   +27 Does anyone know one better than this one?My bet to this is well-known problem somewhere
 » 20 months ago, # |   0 Translating Tex should be easier and more accurate, as there's no need to OCR/reconstruct the paragraphs (but still a little hard -- link )I just reuploaded the original Tex files to the same folder, just in case someone have difficulty downloading it.Also, I uploaded the rest of the PDF in 2014 -- unfortunately, the font issues remains (still a transpdf issue). I'll keep trying to find some better program to translate PDF.