|
Analyse |
Analyses a Project file using translation memories. This creates a Fuzzy Match report which can be used to determine project costs and schedule.
Looking to create a project snapshot? Then use this command: Statistics Report
Catalyst /Analyse TM:tmfilename Filename:filename [FileListFile:filename] TMSrcLang:sourcelang TMTrgLang:targetlang [TMHitsFile:hitsfilename] [Report:ReportName.xml] [Log:logfilename] [/Verbose] [DuplicatesFile:duplicatesfilename] [Penalty:num] [ezLogFile:ezLogFile] [/write] [/open]
or
Catalyst /Analyse TMListFile:tmlistfile.txt Filename:filename [FileListFile:filename] TMSrcLang:sourcelang TMTrgLang:targetlang [TMHitsFile:hitsfilename] [Report:ReportName.xml] [Log:logfilename] [/Verbose] [DuplicatesFile:duplicatesfilename] [Penalty:num] [ezLogFile:ezLogFile] [/write] [/open]
/Analyse |
Description |
TM:tmfilename |
TM file name to use when preforming the Analysis. |
TMListFile:tmlistfile.txt |
TM files contained in tmlistfile must use an absolute path. The tmlistfilename can contain .ttk, .tm, .tmx, .txt, .txml, .txlf or .tmw formats. |
Filename/FileListFile:filename |
The file or a list of files to do an analysis on. |
TMSrcLang:sourcelang |
The source language for the TM (and the analysis) to use. |
TMTrgLang:targetlang |
The target language for the TM (and the analysis) to use. |
TMHitsFile:hitsfilename |
Used in conjunction with Fuzzy Match, this option specifies the name of the TM Hits File which is generated with all Fuzzy Matched translations after the command is complete. |
Report:ReportName.xml |
Specify the name of report file to create. |
Log:logfilename.txt |
Specify a log file to save the analysis results. The results for Analysis can be saved to either a .txt or a .csv file. The appropriate file is generated based on the extension of the log file supplied to save into. |
Verbose |
Outputs a detailed analysis at a file-by-file level of the files within the TTK including the overall TTK summary to the analysis log. Must be used in conjunction with the Log parameter. |
DuplicatesFile:duplicatesfilename |
Specify a duplicates file to save the duplicates results. |
Penalty:num |
The value of num is a penalty value which can be applied to a TM during an analysis. This penalty needs to be greater than 0 and less than 100. When a single TM is specified in the command, you can add this value to the command itself. When using the filelist syntax to specify TMs, add the required value into the FileListFile at the end of the TM line as shown in the example below. There should be a space between the TM name and the penalty value. |
ezLogFile:ezLogFile |
The user can optionally specify a log file to which results of each Catalyst ezScript command are output. If the log file is not specified by the user or is invalid, the default log file (ezScriptBatchLog.txt in the Public location) is used. |
/write |
The command line which has been processed by Catalyst will be written into the ezScript batch log file. This will help to debug your command if something is not behaving as expected. |
/open |
Launches MS Notepad and displays the content of ezScript batch log when the command finishes. |
This is a sample of the contents which may appear in the file "TMListFile.txt" as in the first example below.
"D:\ezScript\MasterTM.tm"
"D:\ezScript\MyProject_FC.ttk" Penalty:1
"D:\ezScript\MyProject_Beta.ttk" Penalty:2
This example will analyse the file "License.exe" against the translation memory "MyTM.ttk", the report is called report.xml
Catalyst /Analyse TM:"D:\ezScript\MyTM.ttk" Filename:"D:\ezScript\License.exe" TMSrcLang:"English (Ireland)" TMTrgLang:"French (France)" Report:"D:\ezScript\report.xml"
This example will analyse the files listed in "Analysis.txt" against the translation "MyTM.tm" and saves the hits to the TM hits file "FuzzyTMHits.tmx". The Analysis counts are logged to the file "Analysis.txt".
Catalyst /Analyse TM:"D:\ezScript\MyTM.tm" FileListFile:"D:\ezScript\Analysis.txt" TMSrcLang:"English (Ireland)" TMTrgLang:"French (France)" TMHitsFile:"D:\ezScript\FuzzyTMHits.tmx" Log:"D:\ezScript\Analysis.txt"
This example will analyse the file "MyProject.ttk" against the TMs as listed in the TMListFile.txt and saves the hits to the TM hits file "TMHits.tmx". The duplicates identified during the analysis are saved in the file "Duplicates.ttk" and the Analysis counts are logged to the a CSV file named "MultiTM_Analysis.csv".
Catalyst /Analyse TMListFile:"D:\ezScript\TMListFile.txt" Filename:"D:\ezScript\MyProject.ttk" TMSrcLang:"English (Ireland)" TMTrgLang:"French (France)" DuplicatesFile:"D:\ezScript\Duplicates.ttk" Log:"D:\ezScript\MultiTM_Analysis.csv"