/MateCat-Filters

Convert any file to XLIFF and back with perfectly preserved formatting! Super easy API, plenty of supported formats and advanced segmentation.

Primary LanguageHTMLGNU Lesser General Public License v3.0LGPL-3.0

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

  • Istantly ready to use, zero installation / configuration.
  • Runs in MateCat's infrastructure, with instances constantly monitored, optimized, and updated.
  • Transparent versioning: automatically downgrades when you try to convert a XLIFF created with an older version of MateCat Filters.
  • Commercial dependencies included: you don't need to buy licenses for the commercial software MateCat Filter uses to support OCR, PDF and legacy MS Office formats.

Getting started

Navigate the wiki to learn how to use the API.