small difference between Analyze results

Hi, We have created an application witch create package.

I notice a difference between the analyze result, when I compare the report of the package (in Trados Studio) resulting by calling 2 C# program which their code differs in these lines :

newProject.RunAutomaticTasks(trgFileIDs, new[] { AutomaticTaskTemplateIds.PerfectMatch, AutomaticTaskTemplateIds.PreTranslateFiles, AutomaticTaskTemplateIds.AnalyzeFiles, AutomaticTaskTemplateIds.PopulateProjectTranslationMemories }); // create \Report\ folder in the project

and:

newProject.RunAutomaticTask(trgFileIDs, AutomaticTaskTemplateIds.PreTranslateFiles);
newProject.RunAutomaticTasks(trgFileIDs, new[] { AutomaticTaskTemplateIds.PerfectMatch, AutomaticTaskTemplateIds.AnalyzeFiles, AutomaticTaskTemplateIds.PopulateProjectTranslationMemories }); // create \Report\ folder in the project

I understand that runinng PreTranslateFiles batch Task on a separate command to AnalyzeFiles batch Task, differ the Report result a bit.

Which one of these approach is true?

thankyou

Parents
  • Hi I do more investigation and find out my previous state is wrong.

    Running PreTranslateFiles batch Task on a separate command to AnalyzeFiles batch Task, do not differs in Analyze results compare to running them all together.

    But the the difference happens in these circumstances :

    1. Report in the project created by API and code   compare to   Report in the project created by Trados Studio itself.  (below 1% of summery of all matching types)
    2. Report numbers compare to equivalent numbers in the API`s AnalysisStatistics class. (3% of summery of all matching types)  
Reply
  • Hi I do more investigation and find out my previous state is wrong.

    Running PreTranslateFiles batch Task on a separate command to AnalyzeFiles batch Task, do not differs in Analyze results compare to running them all together.

    But the the difference happens in these circumstances :

    1. Report in the project created by API and code   compare to   Report in the project created by Trados Studio itself.  (below 1% of summery of all matching types)
    2. Report numbers compare to equivalent numbers in the API`s AnalysisStatistics class. (3% of summery of all matching types)  
Children
No Data