Concordance Syntax Help
XTM Labs feature
This is an XTM Labs feature. Find out more about XTM Labs.
Concordance Advanced Search enables you to construct complex Translation Memory queries.
Use the following elements to build the required query:
Search elements – define the area that the operator and its value are referring to.
Operators – define the way in which the entire searched phrase or the elements of the searched phrase are searched for in the specified search elements.
Conjunctive operators – join or coordinate two or more queries within the Concordance Advanced search.
Parenthesis – can be used to build more complex Concordance Advanced search queries and to control the order of importance of the searched elements.
Search Element | Description | Examples of queries | Results that would have been returned | Results that would NOT have been returned |
---|---|---|---|---|
source | Looks for the segments in which words from the searched phrase appear in the same order as in the query. Looks for the word forms specified in the query, not the stem of the words in the query. Looks for the stop words specified in the query. Looks for the numbers specified in the query. Ignores special characters in the searched phrase. Ignores punctuation marks in the searched phrase. Is not case-sensitive. |
| I love cats. I love Cats! I LOVE CATS: i love cats. I love # cats. I „love” cats! I. love. cats. I-love-cats! I love cats, not dogs. Do I love cats & dogs? Why don’t I love cats, dogs & other animals? | I love my cats. I love cat. I love the cats I love 2 cats. Cats I love. She loves a cat. |
sourceBroad | Looks for the segments containing the entire searched phrase, not for each word from the phrase separately. Looks for the segments in which words from the searched phrase appear in the same order as in the query. Looks for the stem of the words in the query. Looks for the numbers specified in the query. Ignores special characters in the searched phrase. Ignores punctuation marks in the searched phrase. Ignores any stop words in the searched phrase and in the search results. Is not case-sensitive. |
| I love cats. I love my cat. I love the cats. I love Cats! I love CATS: I love # cats. I „love” cats! I really love cats! I love my cats number 2 and 4. I love cats and dogs. Do I love cats & dogs? Why don’t I love cats, dogs & other animals? | I love 2 cats. Cats I love. |
target | Looks for the segments in which words from the searched phrase appear in the same order as in the query. Looks for the word forms specified in the query, not the stem of the words in the query. Looks for the stop words specified in the query. Looks for the numbers specified in the query. Ignores special characters in the searched phrase. Ignores punctuation marks in the searched phrase. Is not case-sensitive. |
| I love cats. I love Cats! I love CATS: I love # cats. I „love” cats! I-love-cats! I love cats, not dogs. I love cats and dogs. I love cats and dogs. Do I love cats & dogs? Why don’t I love cats, dogs & other animals? | I love my cats. I love the cats. I love 2 cats. Cats I love. |
targetBroad | Looks for the segments containing the entire searched phrase, not for each word from the phrase separately. Looks for the segments in which words from the searched phrase appear in the same order as in the query. Looks for the stem of the words in the query. Looks for the numbers specified in the query. Ignores special characters in the searched phrase. Ignores punctuation marks in the searched phrase. Ignores any stop words in the searched phrase and in the search results. Is not case-sensitive. |
| I love cats. I love my cat. I love Cats! I love CATS: I love # cats. I „love” cats! I really love cats! I love my cats number 2 and 4. I love cats and dogs. Do I love cats & dogs? Why don’t I love cats, dogs & other animals? | I love 2 cats. Cats I love. |
projectName | Looks for project names in which words in the searched phrase appear in the same order as in the query. Looks for the stop words specified in the query. Looks for the special characters. Looks for the punctuation marks. Looks for the numbers specified in the query. Is case-sensitive |
| Segments from these projects: Concordance Advanced Search Concordance Advanced Search 2 Concordance Advanced Search 3 | Segments from these projects: Advanced Search Concordance concordance advanced search Concordance, Advanced Search Concordance the Advanced Search Concordance#Advanced#Search Concordance3Advanced3Search |
Operator | Description | Examples of queries | Results that would have been returned | Results that would NOT have been returned |
---|---|---|---|---|
CONTAINS | Returns results that are the same as the searched phrase or include it. Other search parameters depend on the selected search element. |
or
| I love cats. I love Cats! I love CATS: I love # cats. I „love” cats! I-love-cats! I love cats, not dogs. I love cats and dogs. Do I love cats & dogs? Why don’t I love cats, dogs & other animals? | I love 2 cats. I love the cats. |
or
| I love cats. I love my cat. I love the cats. I. love. cats. I love Cats! I love CATS: I love # cats. I „love” cats! I really love cats! I love my cats number 2 and 4. I love cats and dogs. Do I love cats & dogs? Why don’t I love cats, dogs & other animals? | I love 2 cats. I love 1 cat. | ||
| Segments from these projects: Concordance Advanced Search Concordance Advanced Search 2 Concordance Advanced Search (EN-FR) Concordance Advanced Search! | Segments from these projects: concordance advanced search Concordance, Advanced Search Concordance#Advanced#Search Concordance1Advanced1Search1 | ||
or
| Segments from the "Concordance Advanced Search" project that DO NOT meet the criteria of the operator CONTAINS: I really love cats. I love my Cat! I must love cats! I love # cat. Cats I love. Ilovecats. I5love4cats2. I love my cats 2 and 4. I am loving cats. | Segments from the "Concordance Advanced Search" project that meet the criteria of the operator CONTAINS: I love cats. I love cats! I love cats and dogs! | ||
DOES_NOT_CONTAIN | The DOES_NOT_CONTAIN operator must be combined with a positive query through one of the available conjunctive operators: AND or OR. Excludes phrases that meet the criteria of the CONTAINS operator from the search results. | |||
or
| Segments from the "Concordance Advanced Search" project that DO NOT meet the criteria of the operator CONTAINS: I love 2 cats. I love 2 cats. I love 1 cat. I love the 1 cat. Cats love I. I-love-cats. I5love4cats2. | Segments from the "Concordance Advanced Search" project that meet the criteria of the operator CONTAINS: I am loving cats. I love cats. I love cats! I love cats and dogs! I really love cats! I must love cats and dogs! | ||
| Segments that meet the criteria of the Concordance Advanced Search Concordance Advanced Search 3 Concordance, Advanced Search 4 Concordance! advanced search! | Segment that meet the criteria of the | ||
IS | Returns the same search results as the searched phrase, but with special characters, punctuation marks and multiple whitespaces ignored. Other search parameters depend on the selected search element. |
or
| I love cats. I love Cats! I „love” cats! I-love-cats. I. love. cats. I love # cats. I!love!cats! | I love 2 cats. I love the cats. I love cats and dogs. I really love cats! Cats I love. |
or
| I love cats. I love Cats! I „love” cats! I love my cat! I really love cats! I love the cat. I-love-cats. I. love. cats. I love # cats. I!love!cats! | I love 2 cats. I love 1 cat. Cats I love. | ||
| Segments from this project: Concordance Advanced Search | Segments from these projects: concordance advanced search Concordance Advanced Search 2 Concordance Advanced Search (EN-FR) Concordance Advanced Search! Concordance, Advanced Search Concordance#Advanced#Search Concordance1Advanced1Search1 | ||
IS_NOT | The IS_NOT operator must be combined with a positive query through one of the available conjunctive operators: AND or OR. Excludes phrases that meet the criteria of the IS operator from the search results. |
or
| Segments from the "Concordance Advanced Search" project: I love cats. I love cats and dogs. I love cats, dogs and other animals. Do I love cats? I must love cats! | Segments from the "Concordance Advanced Search" project: I love cat. |
or
| Segments from the "Concordance Advanced Search" project: I love cats and dogs. I love cats, dogs and other animals. Do I love cats? I must love cats! | Segments from the "Concordance Advanced Search" project: I love cat. I love cats. | ||
| Segments meeting the criteria of Concordance Advanced Search 2 Concordance, Advanced Search Concordance#Advanced#Search Concordance! advanced search! | Segments meeting the criteria of | ||
IN | The For every searched phrase, the IN operator returns the same search results as the IS operator. |
| I love cats. I love Cats! I love # cats. I „love” cats! I-love-cats. I love dogs. I LOVE DOGS. I. love. dogs. | I love my cats. I love the dogs. I love 2 cats. I love dog. I love cats. I love dogs. I love cats and I love dogs. |
| I love cats. I love Cats! I love # cats. I „love” cats! I-love-cats. I love my cats. I just love cats! I must love cats! I love dogs. I love the dogs. I LOVE DOGS. I. love. dogs. | I love 2 cats. I love cats. I love dogs. I love cats and I love dogs. | ||
| Segments from these projects: Concordance Advanced Search Concordance, Advanced Search | Segments from these projects: concordance advanced search Concordance_Advanced_Search Concordance0Advanced0Search0 Concordance, Advanced Search 2 Concordance Advanced Search TEST | ||
NOT_IN | The NOT_IN operator must be combined with a positive query through one of the available conjunctive operators: AND or OR. Excludes phrases that meet the criteria of the IN operator from the search results. |
or
| Segments from the "Concordance Advanced Search" project: I love 2 cats. I love # cats. I love my CAT: Ilovecats. I_love_dogs. I5love4cats2. I love the 1 dog. I love my cat number 1. I love cats. I love dogs. I love dogs, I love cats. I love cats and I love dogs. I love cats and dogs. Do I love cats? Why don’t I love dogs? | Segments from the "Concordance Advanced Search" project: I love cats. I love dogs. |
or
| Segments from the "Concordance Advanced Search" project: I love 2 cats. I love 1 cat. I love my CAT: Ilovecats. I_love_dogs. I5love4cats2. I love the 1 dog. I love my cat number 1. I love cats and dogs. I love dogs, I love cats. I love cats and dogs. I must love cats & dogs Why don’t I love dogs? | Segments from the "Concordance Advanced Search" project: I love cats. I love cat. I love dogs. I love dog. | ||
| Segments that meet the criteria of the query Concordance Advanced Search TEST concordance advanced search Concordance_Advanced_Search Concordance0Advanced0Search0 Concordance, Advanced Search 2 | Segments that meet the criteria of the query Concordance Advanced Search Concordance, Advanced Search |
Conjunctive operator | Description | Examples of queries | Results that would have been returned | Results that would NOT have been returned |
---|---|---|---|---|
AND | AND is used to join two or more queries within one Concordance Advanced search. |
or
| I love cats, I love dogs. I love dogs, I love cats. I love cats, I love dogs, I love all animals. | I love dogs. I love cats. |
or
| I love cat. I love dogs. I love dogs. I love cats. I love dogs, I love cats. I love cats, I love dogs. I love cats, I love dogs, I love all animals. I love cats and I love dogs. I love dogs and I love cats. | I love dog. I love dogs. I love cat. I love cats. | ||
| Segments that meet the criteria of the Concordance Advanced Search Concordance Advanced Search 2 Concordance Advanced Search 3 | Segments that meet the criteria of the Concordance, Advanced Search Concordance! advanced search! concordance advanced search | ||
OR | OR is used to search for segments containing at least one of the two or more queries specified within one Concordance Advanced search. |
or
| I love cats. I love dogs. I love # cats. I. love. cats. I!love!cats! I love cats. I love dogs. I love dogs. I love cats. I love dogs, I love cats. I love cats, I love dogs. I love cats and I love dogs. I love dogs and I love cats. I love cats & dogs! I love cats + dogs! I really love cats & dogs! | I love a cat. I love the dogs. I love 2 cats. |
or
| I love cats. I love dogs. I love a cat. I love my dog. I love cats. I love dogs. I love dogs. I love cats. I love dogs, I love cats. I love cats, I love dogs. I love cats and I love dogs. I love dogs and I love cats. I love cats & dogs! I love cats + dogs! I really love cats & dogs! | I love 2 cats. I love 1 dog. | ||
| Segments from these projects: Concordance Advanced Search Concordance, Advanced Search | Segments from these projects: Concordance! advanced search! concordance advanced search |
Description | Examples of queries | Results that would have been returned | Results that would NOT have been returned |
---|---|---|---|
Use parentheses |
| Segments: from the project called "Concordance Advanced Search 2" AND that contain the phrase "I love cats." or "I love dogs." or both phrases | Segments: from the projects called "Concordance Advanced Search", "Concordance, Advanced Search", "Concordance! advanced Search" that do NOT contain the phrase "I love cats." or "I love dogs." |
| Segments: from the project called "Concordance Advanced Search 2" all segments that contain the phrase "I love cats." OR from any project all segments that contain the phrase "I love dogs." | Segments: from the project called "Concordance Advanced Search 2", that do NOT contain the phrase "I love cats." OR from any project that DOES NOT contain the phrase "I love dogs." |