Edit QA settings
memoQ can check many things in the translation automatically. In memoQ, the automatic checks are called quality assurance checks.
A QA option set tells memoQ what to check and how. For example, you can choose to check terminology, consistency, length. Or, you can simply check the inline tags only.
Don't confuse QA with LQA: memoQ also knows about Linguistic Quality Assurance. This is a way of adding human feedback to documents. The human reviewers can structure and formalize their feedback, and grade the translations if necessary. You use the LQA options - LQA models - to enter these and report about them.
You cannot edit the default QA options. Either you need to make a copy of the default QA option set, or you need to create a new one.
Belongs to a project: You choose a QA option set for a project. To make your choice, open a project. In Project home, choose Settings. Click the QA options icon. (This icon has an exclamation mark and a tick mark in it.) Check the check box of the QA option set you want to use.
How to get here
Open the Resource Console. Choose QA settings. In the list, click the QA profile you want to edit. Under the list, click Edit.
From a project: Open a project. In Project home, choose Settings. In the Settings pane, click the QA settings icon. (This icon has an exclamation mark and a tick mark in it.) In the list, click the QA profile you want to edit. Under the list, click Edit.
From an online project: Open an online project for management. In the memoQ online project window, choose Settings. In the Settings pane, click the QA settings icon. (This icon has an exclamation mark and a tick mark in it.) In the list, click the QA profile you want to edit. Under the list, click Edit.
Can't edit default QA settings: There is a default QA profile that memoQ uses for new projects - unless the project template specifies another one. To change the default settings, you must clone (copy) them first. To clone a QA profile: Select it in the list. In Resource Console, click Clone. In a project, click Clone/use new. memoQ makes a copy of the QA profile. If you're in a project, memoQ also starts using it. Then you can select the clone and click Edit.
What can you do?
Choose which checks memoQ should run, and how.
memoQ can run these kinds of checks:
- Segments and terms: Checks terms, formatting, and the length of segments.
- Consistency: Checks consistency of entire segments, and the consistency with translation memory matches. You can also check if the tracked changes in the source are applied to the target text.
- Numbers: Check if numbers in the source are there in the target segment.
- Punctuation: Checks if punctuation marks and quotes are used in the target segment as they should be in the target language.
- Spaces, capitals, characters: Check if spaces and capital letters are used as they should be. Checks for forbidden characters.
- Inline tags: Checks if inline tags are copied to the translation, and the markup is still well-formed there. Use these checks to prevent the export of malformed documents.
- Length: Checks the translated segments' length in characters or in pixels. Gets the constraints from the document itself.
- Regex: Uses regular expressions to spot problems that do not fall in the above categories. You write these regular expressions. In some cases, you can write up suggestions for correcting the segments.
For a complete list of QA warnings in memoQ, see this Help topic.
Terminology section:
- Check for consistent use of terminology: Check this check box to see if you use the terms specified in the project's term bases consistently.
- Source to target: Select this radio button to check if all source terms have their translations on the target side, or if identical terms have different translations on the target side.
Target to source: Select this radio button to check whether identical target terms have different source terms.
Note: An identical translation for two different terms may indicate that the source document is unnecessarily inconsistent (that is, you use more than one term for the same meaning). If the source is corrected, you can save more money on translation, because consistent source segments lead to better translation results.
- Both ways: Select this radio button to check both target to source and source to target consistency.
- Warn if forbidden term is used: Check this check box to display a warning if a term marked as forbidden is used. If you check this, you can refine the check even more:
- Even if it has no source equivalent: Check this to warn about the forbidden term even if the term base does not have a "source" term for it.
- In the source segment: Check this to warn if the forbidden term - or its source-language equivalent - occurs in the source segment. This warning will probably go back to the client.
Segment length section:
- Check length of translation in proportion to source: Check this check box to check for target segment length. You can specify whether the length check should be based on characters, words or both. The Characters option is enabled by default. The length of translated text is usually proportional to the length of source language text. If the translation of one segment is much longer or much shorter than the source language version, an alert may be useful – maybe something was added or forgotten, and the proofreader needs to see it.
- Average target/source length ratio (characters, words): Enter a value that indicates the proportion of target text to source text. If the target text is 20% longer on average than the source text, enter 1.20. If the target text is shorter than the source, enter a value below 1.00. Enter the value both in words and characters.
- Allow deviation (characters, words): Enter a value that indicates how much deviation from the average is accepted. Of course not every sentence is 20% longer - some may even be shorter, and this setting allows for that. Enter the value both in words and characters. Check the translated segment length based on characters. Example: Under Allowed deviation (words), enter 0% for min, which means no minimum segment length, and 100% for max, which means up to the same length as the source segment.
Note: This is actually two checks, one for word length, one for character length.
- Check maximum segment length based on value stored with the row or in its comment: In software localization and other sections, you may have some limitation on the segment length. You can use the segments' comments to perform a very precise length check. If this check box is ticked, and the comment contains a number, memoQ will compare the number of characters in the target cell to the number of the comment. memoQ adds a warning to the segment if the target cell is longer.
Important: If the current document was imported from an Excel or an XML file, you can import comments automatically. When importing an Excel file, you can import comments from specific cells. If you are importing an XML file, you can specify XML elements or attributes that memoQ will import as comments. To import comments from Excel and XML documents, you need to import the documents with the Import with options command so that the Document import options dialog is displayed.
- Warn if translation is longer than (characters): Check this check box to check if the translation exceeds the lengths of the here entered characters and warns if it exceeds.
- Count full-width characters as two: Check this check box to count full-width characters as two. A Unicode full-width character basically means that each character has the same length as a Chinese character, regardless of font.
See also: an example in the Knowledge Base.
Other section:
- Check for consistent use of non-translatables: Check this check box to see if you use the non-translatable phrases (specified in the project's non-translatable lists) consistently.
- Source to target: Select this radio button to check if all non-translatables in the source text appear the same in the segment's translation.
Target to source: Select this radio button to check if all non-translatables in the translated text appear the same in the segment's source.
- Both ways: Select this radio button to check both target to source and source to target consistency.
- Warn if target segment equals source segment: Check this check box to configure whether you want to check for identical source and target segments. This check ensures that the target segment is different from the source segment and no copied segments are remaining.
- Warn if target segment is empty: Check this check box to configure whether you want to check for empty target segments. This check ensures that there is no empty target segment remaining in the text.
- Check bold, italic, and underline: Check this check box to make memoQ check if the same bold, italic, and underline formatting is applied to the target segment and the source segment.
- Check auto-translatables: Check this check box to check if the suggestions from auto-translation rules are used in the target text.
Consistent translation section:
- Check for duplicate words in the target: Check this check box to check for duplicate words in the target. When a word is repeated in the translation and is separated by at least one space (for example: and and), memoQ detects it and gives you a warning. In the warning, the first duplicated word is highlighted. You can delete the repetition from the segment and the extra space. Punctuation marks, tags and spaces are skipped.
- Verify that identical segments are translated consistently: Check this check box to configure whether you want to check for consistent translation of identical segments. With this check you suppose that every identical source segment should have the same translation. By default, only the text is examined, formatting and lower/uppercase are not.
- With formatting: Check this check box to take formatting into account.
- Case-sensitive: Check this check box to take upper/lowercase characters into account.
- Source to target: Select this radio button to check whether identical source segments have different translations on the target side.
- Target to source: Select this radio button to check whether identical target segments have different source equivalents.
Note: An identical translation for two different segments can indicate that the source document is unnecessarily inconsistent (i.e. the wording is different, the content is not) and you can save more money on translation if the source is corrected because the corrected source segments yield more 100% hits. Checking the source document consistency is identical to checking the translation consistency with the difference that in the case of source document consistency identical target segments are checked for different source segments.
- Bidirectional: Select this radio button to check both target to source and source to target consistency.
Note: Only those identical source segments will get a warning that have at least two different translations (according to the settings, with/without formatting and case-sensitive/case-insensitive).
Check against TM and corpora section:
- Warn if best exact/context match is different from translation: memoQ takes the TM/corpus matches instead of the row, and picks the best match. If there are no matches, the check skips the row. Otherwise, “best” is the match that has the highest match rate of those matches that have the same rate, or it is the one that has the latest modification time.
- Warn if most recent exact/context match is different from translation: memoQ takes the match with the latest modification time. This is not necessarily the match with the highest match rate; there may be a more recent 100% match than the row’s 101% match. If this match is different from the row’s translation, a warning is displayed.
- Warn if there are multiple exact/context matches: memoQ takes all matches for the row, and if this set contains matches that have different target segments, a warning is displayed.
- Change-tracking consistency: Use this when the translation must be change-tracked in the same way as the source. This is a requirement when the text you are translating is very tightly regulated. To check for tracked changes in the translation, check the Check insertion and deletion consistency check box. When this is on: If there are deletions or insertions in the source but there are none in the target, you will receive exactly one warning, which can be one of these two:
- Deletion missing from translation
- Insertion missing from translation
These warnings can always be ignored.
Check options section:
- Verify number format: This check ensures that the number format is used consistently. You can either specify a number format to check for, or memoQ determines the most frequently used number format, and display those segments that are formatted differently. Number format can be checked both on the source and the target segments.
Note: memoQ also verifies whether there is a full-width digit in a text that is not represented with Chinese, Japanese, Korean characters.
- Verify that numbers are matched on the target side: Check this check box to check for the equivalence of numbers. This check ensures that numbers on the source and target side are the same.
By default, memoQ interprets numbers "linguistically". That is, the format of numbers matters. For example, 1,000 means "one" in Hungarian and "one thousand" in English – because comma is the decimal sign in Hungarian and the thousands group separator in English. If you are translating from English into Hungarian, and you have 1,000 on both sides (source and target), then with the default settings, you get a warning. This is expected behavior. - If you prefer a less strict setting (language specific) interpretation of numbers, you can turn it off in unchecking the Use number format settings, too check box.
The number check also tries to convert numbers to a quantity, for example memoQ detects 1.5 in the English text, it interprets it as "one and a half". memoQ will not try to interpret it as section numbering or the like. If it sees 1.5 in Hungarian, memoQ cannot interpret it as a quantity, because the period is not used in correct Hungarian number formatting (where the decimal sign is comma, and the thousands separator is space).
Custom number formats for languages section:
In the case of number format checks, you can deviate from the standard number format stored in memoQ for the individual languages. For example, English may use both decimal points and spaces between the groupings of three digits. memoQ, by default, requires the comma.
memoQ lists all supported languages with the default number format. To change the number format, select the language, and click Edit. The Specify number format for language window appears.
To use the default format for the selected language again, select the language, and click Reset to default.
Check options section:
- Accept language specific punctuation marks only: Check this check box to verify whether the punctuation marks are in line with the language-specific settings.
- Warn for missing brackets, quotation marks, apostrophes: Check this check box when you want to check for quotation marks, apostrophes and brackets. This checks whether there are opening signs without closing signs and vice versa, and whether the number of these signs in the source differs from the number in the target.
- Verify the correct use of spaces before and after punctuation marks: Most languages require a space after commas and periods, French for example requires a non-breaking space before and after a quotation mark. Check this check box when you want a warning for missing or extra spaces before and after punctuation marks.
- Check sequences of punctuation marks for correctness: Check this check box to verify whether there is an invalid sequence of punctuation marks in the text. Sequences such as '?!', '...' or '-,' are allowed, '.,' for example is not.
- Ignore ellipsis: Check this check box to allow the '...' sequence.
- Ignore sequences of periods longer than: Check this check box to allow many periods in a row. The number of periods is configurable.
memoQ watches these rules when checking punctuation marks (if the check is turned on):
- more than four punctuation marks are not allowed
- a sequence that contains both left and right quotes or brackets is wrong
- after a left quote or bracket, only a left quote or bracket allowed in the same sequence '("hello")'
- before or after right quote or bracket, no hyphen is allowed
- before a dash (—), only a period or a comma is allowed
- after a dash (—), only separators, right quotes or brackets, or period are allowed
- before or after a hyphen (-), only a comma is allowed
- before an ellipsis (…), only a right bracket or quote is allowed
- after an ellipsis (…), only separators are allowed (but no period)
- more than one separator-type mark (, or ;) or period are not allowed in one sequence
Verify that source and target segments end with the same punctuation mark: Check this check box if you want to see the same punctuation mark at the end of both source and target segments. It does not work between English and many other languages where the imperative is marked with an exclamation mark.
Custom punctuation marks for languages section:
This is the section where you can configure the language-specific settings and indicate whether a punctuation mark is a bracket, an apostrophe, a quotation mark or a sentence-ending punctuation mark. Select the language, click Add, define the type and the rules for spaces. You can also modify and delete punctuation marks.
See also: Knowledge Base article on How to fix false or missing warnings
Whitespace and capitalization section:
- Warn for double whitespace characters: Check this check box to configure whether you want to check for consecutive whitespaces. This check ensures that there are no redundant whitespaces remaining in the translation.
- Detect extra spaces at the end of segments: Check this check box to verify extra spaces at the end of segments.
- Verify that initial capitalization is the same in source and target: Check this check box to check for initial capitalization. This check ensures that the first letter in the target segment has the same capitalization as the first letter in the source segment.
Forbidden characters section:
- Warn if one of the following characters appear in the target text: If you check this check box, memoQ generates a warning each time a forbidden character occurs. Type the characters in the text box below the check box. In the box below, you can also add characters by Unicode number. After you enter the Unicode number, click Add to add the character to the text box.
Spelling and grammar warnings section:
- Generate warnings for spelling errors: Check this check box to verify spell errors. Set up spell checking in the memoQ application menu, under Options > Options > Spelling and grammar.
- Generate warnings for grammar errors: Check this check box to verify grammar errors. Set up grammar checking under Options > Options > Spelling and grammar.
Tags as spaces section:
- Treat inline tags as spaces: In some documents, some inline tags stand for white space. For example, this can be the <br/> or <img/> tag in HTML. Normally, memoQ doesn't count these as white space. To treat tags as white space, check the Treat these tags as white spaces check box, and type the tags in the Tags box. Don't type the '<', '>', or '/' characters with the tags. Simply type a space before you type a new tag.
See also: Spelling
- Verify well-formedness against source: Check this check box to verify whether the translation closes more extra tags, or leaves more tags open, than the source. (If, for instance, the source contains "<b><i>text</i>", then the following will not generate this warning: "<i>translated <b>text</i>" or "<b>text", but the following will: "<b><i>text" or "<b>text</b>".)
- Check for overlapping paired tags: Check this check box to verify whether there are overlapping tags in the translation, i.e. a tag is closed before an inner tag is closed. (For example, "<b>some<i>incorrect</b>tags</i>".)
- Warn for Unicode characters with no defined entity: Check this check box to verify if the translation contains a character that is not on the target code page and there is no entity defined for it on the XML import filter's Entity tab.
- Warn for Unicode characters with more than one defined entity: Check this check box to verify if the translation contains a character that is not on the target code page and there is more than one entity defined for it on the XML import filter's Entity tab.
- Warn for missing or extra tags on the target side: Check this check box to verify if some tags that are present in the source are omitted from the target, or some extra tags are present in the target.
- Warn for changed tag order: Check this check box to verify if the tag order was changed in the target cell. The first source tag whose target index is not incremental is highlighted as well as its its corresponding target tag. This check does not identify omitted or extra tags.
Checking spaces before and after tags: Sometimes these spaces count, and must be written the same way as in the source text. Check the Check if spaces before and after tags match the source to get warned if the spaces are different. To check the format of the opening and closing tags (there must not be spaces in them), check the Check if opening and closing tags are in the correct format check box.
memoQ can check the length of the translations. To set it up, use the settings on the Length tab.
- Each row in the document may have a number that specifies how long the translation can be. These numbers appear in a comment that belongs to the row. memoQ can import these values from structured files (such as XML, Excel etc.). To make memoQ check lengths like this, check the 'Check length of translation based on value stored with the row or in its comment' check box.
- memoQ can also check the length of translations in pixels rather than characters. Normally, memoQ knows about the number of characters, but not about the width of each character. To compute the width, memoQ needs the font face, the font style, and the font size, too. These parameters as well as the length restriction should be in the comment of each row in the form of text that can be parsed using regular expressions. Here is an example:
120px;Arial;10pt;BI
To make memoQ recognize this restriction, you need to add a rule to the Pixel based length check table. Click Add to add a rule. The Add new length information rule window opens:
To extract the numbers, the font face, and the font size from the above example, use this regular expression (click here to learn more):
In the regular expressions, the parts in parentheses are the ones you can extract. Plus, type a ; (semicolon) everywhere you expect a new field to start.
In the above example,
$2 means the second bracketed part: '([^;]+)' matches one or more characters that are not semicolons - until a semicolon comes along. That sequence of characters will be the name of the font face (the second line in the sample comment).
$3 means the third bracketed part: '(\d+)' matches one or more decimal digits (0...9). This will be the font size in points. This is the third line of the sample comment.
$1 means the first bracketed part: again, '(\d+)' matches one or more decimal digits. This is the length restriction in pixels, you can see it in the first line of the sample comment.
Plus, we know this rule applies to a bold-italic font style because the last line of the sample comment is BI. In the regular expression, 'BI' is written as it is, so you can set the Font style drop-down box to 'Bold Italic'.
Click OK to add this rule.
You can also change or delete rules. Use the Move up and Move down buttons to change the order of the rules. memoQ will stop looking on the list if it finds a match with one rule.
If memoQ cannot recognize any rules in a row, it will not raise a warning if that segment is too long.
If you do not want memoQ to allow to export the translation if there's a length warning, check the These warnings cannot be ignored check box.
Because these restrictions are quite complex, and it must be a separate process that assigns them to each row, it is possible that this information will be missing from some rows, and it will have errors in others. There are two more check boxes to deal with this:
- Generate warning if size information is not found for a segment: Check this check box if you need a warning for those segments that don't have a length restriction. By default, memoQ will not send warnings about these.
- Generate warning if memoQ fails to measure a string: memoQ will give a warning when it cannot compute the length of the target segment in pixels. This can happen if the specified font face and font style are not found on the computer. Clear this check box if you don't want memoQ to send these warnings.
If the standard checks do not meet your needs, you can write custom checks, using regular expressions.
Check the Use regular expressions based checking check box, and set up your checks. You can have multiple checks that work with regular expressions.
After you set up a check, click Add. The checks you have in the QA profile are listed at the bottom of the window.
To set up a check:
- Choose a warning type. You can choose from the following:
- Forbidden regex match in target for source: The source pattern (regex) occurs in the source segment, and the target pattern occurs in the target segment. Treat these as forbidden, and get warned when this happens.
- Missing regex match in target: The source pattern occurs in the source segment, but the target pattern doesn't occur in the target segment. Get warned when this happens.
- Counts of regex matches differ: The source pattern occurs in the source segment a number of times. The target pattern also occurs in the target segment, but a different number of times. Get warned when this happens. Note that zero is also a number; but if neither pattern occurs in either side, that won't raise a warning.
- Missing regex replacement in target: The source pattern occurs in the source segment, but its replacement doesn't occur in the target segment. Get warned when this happens. To check this, type a replacement rule instead of a target regex.
- Forbidden regex replacement in target: The source pattern occurs in the source segment, and its replacement also occurs in the target segment, and this is a problem. Get warned when this happens. To check this, type a replacement rule instead of a target regex.
- Counts of regex matches/replacements differ: The source pattern occurs in the source segment a number of times, and its replacement also occurs in the target segment, but a different number of times. Get warned when this happens. To check this, type a replacement rule instead of a target regex.
- Forbidden regex match in target: Don't check the source segment, and warn if the target pattern occurs in the target segment. To check this, don't type a source regex.
- In the Source regex box, type a regular expression for the pattern that should occur in the source segment. You don't need this if you are using the 'Forbidden regex match in target' check.
- In the Target regex box, type a regular expression for the pattern that should occur in the target segment.
Use a replacement rule instead in certain cases: If the warning you chose is about checking replacement instead of a pattern, type a replacement rule here. To use replacement rules, the original (source) regular expression must include groups - parts in '()' parentheses. In the replacement rule, you can refer to groups using $1, $2 etc. $1 means the first group, $2 the second, and so on.
- In the Correction box, you can even set up automatic correction for the target. You can do this if the rule uses a regular expression on the target side. Here, type a replacement rule for the target pattern. Make sure the pattern has groups in '()' parentheses, so that the $1, $2 etc. placeholders can be used.
- In the Description box, type a brief description for the check (or the error it signifies).
When you finish, click Add.
To check the contents of tags: You can write regex checks to check the insides of online tags. If you do this, check the Work on tags expanded to text check box.
To delete an existing check: Click it in the list, and click Delete.
To edit an existing check: Click it in the list, edit the settings, and click Update.
To get rid of all checks: Click Clear all.
You can decide which QA results memoQ should treat as errors and warnings. You cannot deliver a document that has errors. By default, all results are warnings.
If you know the name or code of the result you want to change, type it into the top row, Search Code or Description. You can also scroll the list.
To change a warning's severity to Error, select the Error radio button in its row.
To change an error's severity to Warning, select the Warning radio button in its row.
When you finish
To save the changes, and return to Resource Console, to Project home, or to memoQ online project: Click OK.
To use the edited QA profile in a project: Create a project from a template that specifies this rule. Or, create an empty project (local or online). In Project home (or in memoQ online project), choose Settings. Click the QA settings icon. In the list, check the check box of this QA profile. Do this before you translate the documents, or before you use the Run QA command. memoQ will check the translation according to the settings in the QA profile, and give you warnings accordingly.
To return to Resource Console, to Project home, or to memoQ online project, and not save changes: Click Cancel.