Translation Memory Search Settings |
The most common TM settings are probably the search settings, which you can use to fine-tune TM segment lookup operations as well as concordance searches.
The screenshot below shows the various search settings that can be configured through the user interface of SDL Trados Studio 2014:
The sample code below demonstrates the properties that you can set for fine-tuning the segment lookup in the TMs:
tmSettings.TranslationMinimumMatchValue.Value = 80; tmSettings.TranslationMaximumResults.Value = 10; tmSettings.TranslationFullSearch.Value = true;
Similar options are available for the concordance search, i.e. the type of search that does not retrieve whole segments, but rather parts of segments such as single words or multi-word expressions. As the code below outlines you can configure a minimum match value threshold for the concordance search (default: 70) and a maximum limit for the number of results (default: 30). In the example below we use the lowest possible minimum match value and a search result limit above the default of 30. Note that both settings can have an impact on search performance, i.e. the deeper the concordance search needs to go into the TM, the more time the search might take.
tmSettings.ConcordanceMinimumMatchValue.Value = 30; tmSettings.ConcordanceMaximumResults.Value = 50;