matecat / MateCat-Filters

Convert any file to XLIFF and back with perfectly preserved formatting! Super easy API, plenty of supported formats and advanced segmentation.
http://filters.matecat.com
GNU Lesser General Public License v3.0
45 stars 32 forks source link

Retirement

As of June 2020 this repository is put in read only mode (archived). Translated decided to close the sources of the MateCat Filters project. The source herein corresponds to version 1.2.5 based on Okapi version M36.

The MateCat Filters will still be usable via the hosted API. A basic free plan will allow trial and testing.

Convert any file to XLIFF and back

With MateCat Filters you can easily extract all the translatable contents from any file format into a convenient XLIFF file.

After you have translated your XLIFF, use Filters again to get back a completely translated file in the original format, with perfectly preserved formatting.

Fast, reliable and scalable, running everyday inside MateCat, the popular open-source CAT tool.

Test it right now on matecat.com: when you upload your file and later download it translated, you are using Filters.

Main features

Plenty of supported formats

Among others, MateCat Filters fully supports Microsoft Office formats (legacy ones too), Open Office, PDF, hypertext, and even images of scanned documents thanks to automatic OCR (using the proper external library). See the full list in the Wiki.

Advanced segmentation

Filters uses segmentation rules defined by the Unicode consortium, plus another set of rules specifically designed for CAT Tools. This is why Filters can properly split sentences even in uncommon languages like Mongolian.

Hosted API

Getting started

Navigate the wiki to learn how to use the API.