Skip to main content

XTM Cloud 13.4

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.

Table 104. Search 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.

source CONTAINS "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!

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.

sourceBroad CONTAINS "I love cats."

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.

target CONTAINS "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.

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.

targetBroad CONTAINS "I love cats."

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

projectName CONTAINS "Concordance Advanced Search"

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


Table 105. Operators

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.

source CONTAINS "I love cats."

or

target CONTAINS "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.

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.

sourceBroad CONTAINS "I love cats."

or

targetBroad CONTAINS "I love cats."

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.

projectName CONTAINS "Concordance Advanced Search"

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

source DOES_NOT_CONTAIN "I love cats." AND projectName IS "Concordance Advanced Search"

or

target DOES_NOT_CONTAIN "I love cats." AND projectName IS "Concordance Advanced Search"

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.

sourceBroad DOES_NOT_CONTAIN "I love cats." AND projectName IS "Concordance Advanced Search"

or

targetBroad DOES_NOT_CONTAIN "I love cats." AND projectName IS "Concordance Advanced Search"

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!

projectName DOES_NOT_CONTAIN "Concordance Advanced Search 2" AND source IS "I love cats."

Segments that meet the criteria of the source IS "I love cats." from these projects:

Concordance Advanced Search

Concordance Advanced Search 3

Concordance, Advanced Search 4

Concordance! advanced search!

Segment that meet the criteria of the source IS "I love cats." from the "Concordance Advanced Search 2" project.

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.

source IS "I love cats."

or

target IS "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 2 cats.

I love the cats.

I love cats and dogs.

I really love cats!

Cats I love.

sourceBroad IS "I love cats."

or

targetBroad IS "I love cats."

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.

projectName IS "Concordance Advanced Search"

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.

source IS_NOT "I love cat." AND projectName IS "Concordance Advanced Search"

or

target IS_NOT "I love cat." AND projectName IS "Concordance Advanced Search"

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.

sourceBroad IS_NOT "I love cat." AND projectName IS "Concordance Advanced Search"

or

targetBroad IS_NOT "I love cat." AND projectName IS "Concordance Advanced Search"

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.

projectName IS_NOT "Concordance Advanced Search" AND source IS "I love cats."

Segments meeting the criteria of source IS "I love cats." from these projects:

Concordance Advanced Search 2

Concordance, Advanced Search

Concordance#Advanced#Search

Concordance! advanced search!

Segments meeting the criteria of source IS "I love cats." from the "Concordance Advanced Search" project.

IN

The IN operator can be used to search for multiple text strings at the same time – they need to be entered in parenthesis in separate quotation marks, separated by commas. For example: source IN ("I love cats.","I love dogs.").

For every searched phrase, the IN operator returns the same search results as the IS operator.

source IN ("I love cats.","I love dogs.") or the query target IN ("I love cats.","I love dogs.")

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.

sourceBroad IN ("I love cats.","I love dogs.") or the query targetBroad IN ("I love cats.","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.

projectName IN ("Concordance Advanced Search","Concordance, Advanced Search")

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.

source NOT_IN ("I love cats.","I love dogs.") AND projectName IS "Concordance Advanced Search"

or

target NOT_IN ("I love cats.","I love dogs.") AND projectName IS "Concordance Advanced Search"

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.

sourceBroad NOT_IN ("I love cats.","I love dogs.") AND projectName IS "Concordance Advanced Search"

or

targetBroad NOT_IN ("I love cats.","I love dogs.") AND projectName IS "Concordance Advanced Search"

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.

projectName NOT_IN ("Concordance Advanced Search","Concordance, Advanced Search") AND source IS "I love cats."

Segments that meet the criteria of the query source IS "I love cats." from these projects:

Concordance Advanced Search TEST

concordance advanced search

Concordance_Advanced_Search

Concordance0Advanced0Search0

Concordance, Advanced Search 2

Segments that meet the criteria of the query source IS "I love cats." from these projects:

Concordance Advanced Search

Concordance, Advanced Search


Table 106. Conjunctive operators

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.

source CONTAINS "I love cats." AND source CONTAINS "I love dogs."

or

target CONTAINS "I love cats." AND target CONTAINS "I love dogs."

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.

sourceBroad CONTAINS "I love cats." AND sourceBroad CONTAINS "I love dogs."

or

targetBroad CONTAINS "I love cats." AND targetBroad CONTAINS "I love dogs."

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.

projectName CONTAINS "Concordance Advanced Search" AND source IS "I love cats."

Segments that meet the criteria of the source IS "I love cats." from these projects:

Concordance Advanced Search

Concordance Advanced Search 2

Concordance Advanced Search 3

Segments that meet the criteria of the source IS "I love cats." from these projects:

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.

source CONTAINS "I love cats." OR source CONTAINS "I love dogs."

or

target CONTAINS "I love cats." OR target CONTAINS "I love dogs."

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.

sorceBroad CONTAINS "I love cats." OR sourceBroad CONTAINS "I love dogs."

or

targetBroad CONTAINS "I love cats." OR targetBroad CONTAINS "I love dogs."

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.

projectName IS "Concordance Advanced Search" OR projectName IS "Concordance, Advanced Search"

Segments from these projects:

Concordance Advanced Search

Concordance, Advanced Search

Segments from these projects:

Concordance! advanced search!

concordance advanced search


Table 107. Parentheses

Description

Examples of queries

Results that would have been returned

Results that would NOT have been returned

Use parentheses () to build more complex Concordance Advanced search queries and to control the order of importance of the searched elements.

projectName IS "Concordance Advanced Search 2" AND (source CONTAINS "I love cats." OR source CONTAINS "I love dogs.")

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."

projectName IS "Concordance Advanced search 2" AND source CONTAINS "I love cats." OR source CONTAINS "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."