Select filter to chain

You can import documents where the text contains further markup.

For example: An Excel workbook where the cells contain HTML code. That is, parts of web pages instead of just plain text. memoQ needs the Excel filter to import this document; but then it needs to read the cells through the HTML filter instead of just offering the contents for translation.

The result? Instead of HTML gibberish, the translation editor will show sensible inline tags.

This is called a filter chain or a cascading filter. In the Select filter to chain window, you can add a second, third, fourth, etc. filter to read the structure inside the structure.

Regex tagger must be last in chain: If you add a Regex tagger to a filter chain, you cannot add more filters - except for more Regex taggers to tag the document in several different ways.

How to get here

  1. Import documents with options.

  2. In the Document import options window, click Change filter and configuration. The Document import settings window appears.

  3. Click Add cascading filter.

OR

  1. Open the Resource console.

  2. Choose Filter configurations.

  3. At the bottom of the page, click Create new cascading filter.

  4. The Create new filter configuration window opens. Add name, description, and select filters.

  5. To confirm: Click OK.

  6. To go back to the Resource console without saving changes: Click Cancel.

Works in online projects: You can use a filter chain when you import documents into a memoQ online project, too.

add_cascading_filter_dialog

What can you do?

  1. Choose a main document type: In the Filter drop-down box, choose a main filter. Choose one that matches the text that was imported by the first filter. In most cases, you will use one of these: XML filter, HTML filter, or the Regex tagger.
  2. Choose a particular Filter configuration: In this drop-down box, choose a filter configuration that has the details of the document structure. You can choose from configurations that belong to the main document type. After you add the filter to the chain, you can fine-tune the settings in the Document import settings window.

When you finish

Click OK: memoQ adds the new filter to the filter chain, and return to the Document import settings window.

Click Cancel: memoQ won't add the filter to the chain. It just returns to the Document import settings window.

If the previous filter in the chain is DOCX (Word) or XLSX (Excel), ignore inline formatting in them: The chained HTML or XML filter will not work if the previous filter returns text with inline formatting. If you chain HTML or XML after Word or Excel, you can ignore these. In the Document import settings window for Word and Excel, on the first tab, check the Ignore inline formatting tags in cascading import check box.