...
Optionally the statistics data can be filtered. Currently exists only a filter for the segments meta flag "transitLockedForRefMat". This flag is set by the Transit Plugin.
If a filter is configured, one statistic file set is created unfiltered and one filtered.
Configuration
Config Name | Default Value | Description |
---|---|---|
runtimeOptions.plugins.SegmentStatistics.xlsTemplateExport | modules/editor/Plugins/SegmentStatistics/templates/export-template.xlsx | Path to the XLSX export template. Path can be absolute or relative to the application directory. |
runtimeOptions.plugins.SegmentStatistics.xlsTemplateImport | modules/editor/Plugins/SegmentStatistics/templates/import-template.xlsx | Path to the XLSX import template. Path can be absolute or relative to the application directory. |
runtimeOptions.plugins.SegmentStatistics.metaToIgnore.transitLockedForRefMat | 0 | 0 or 1; decides, if segments with metadata "transitLockedForRefMat" will be ignored by this plugin. |
...
- For existing projects with statistics before the wordCount field was added, the wordCount is initialized with "-1". Therefore negative sums are possible.
- The state specific counter can contain "0" or they can be completely empty. Completely empty means, there are no segments with this state at all. 0 means, that there are segments with the given state, but they contain no terms with the desired term state (trans[Not]Found).
Description of XML
The following commented example file, describes the content of an XML statistic file.
Code Block | ||||
---|---|---|---|---|
| ||||
<?xml version="1.0"?> <statistics> <taskGuid>{792b3c27-0f48-4eaf-aaa3-dbdffd4da62b}</taskGuid> <!-- The unique guid of the task --> <taskName>testpaketneu TRANSLATE-485</taskName> <!-- The textual task name --> <filtered> <!-- A list of set filters, if no filter is set the filtered tag is empty, the filters influences all counters --> <filter>transitLockedForRefMat</filter> </filtered> <segmentCount>234</segmentCount> <!-- The overall segment count of the task --> <segmentCountEditable>22</segmentCountEditable> <!-- The overall segment count of the task --> <import> <files> <file> <fileName>20141121_RefExtrakt_RMbereinigt_plus_DELTAunbereinigt_ENG21.ENG.transit</fileName> <fileId>3539</fileId> <fields> <field> <fieldName>source</fieldName> <charFoundCount>1316</charFoundCount> <charNotFoundCount>801</charNotFoundCount> <wordFoundCount>195</wordFoundCount> <wordNotFoundCount>117</wordNotFoundCount> <termFoundCount>31</termFoundCount> <termNotFoundCount>11</termNotFoundCount> <segmentsPerFile>117</segmentsPerFile> <segmentsPerFileFound>24</segmentsPerFileFound> <segmentsPerFileNotFound>11</segmentsPerFileNotFound> <targetCharFoundCount>1301</targetCharFoundCount> <targetCharNotFoundCount>839</targetCharNotFoundCount> <targetSegmentsPerFileFound>24</targetSegmentsPerFileFound> <targetSegmentsPerFileNotFound>11</targetSegmentsPerFileNotFound> </field> <field> <fieldName>target</fieldName> <charFoundCount>2875</charFoundCount> <charNotFoundCount>0</charNotFoundCount> <wordFoundCount>478</wordFoundCount> <wordNotFoundCount>0</wordNotFoundCount> <termFoundCount>59</termFoundCount> <termNotFoundCount>0</termNotFoundCount> <segmentsPerFile>117</segmentsPerFile> <segmentsPerFileFound>45</segmentsPerFileFound> <segmentsPerFileNotFound>0</segmentsPerFileNotFound> </field> </fields> </file> <file> <fileName>20141121_RefExtrakt_RMbereinigt_plus_DELTAunbereinigt_ENG22.ENG.transit</fileName> <fileId>3540</fileId> <fields> <field> <fieldName>source</fieldName> <charFoundCount>1316</charFoundCount> <charNotFoundCount>801</charNotFoundCount> <wordFoundCount>195</wordFoundCount> <wordNotFoundCount>117</wordNotFoundCount> <termFoundCount>31</termFoundCount> <termNotFoundCount>11</termNotFoundCount> <segmentsPerFile>117</segmentsPerFile> <segmentsPerFileFound>24</segmentsPerFileFound> <segmentsPerFileNotFound>11</segmentsPerFileNotFound> <targetCharFoundCount>1301</targetCharFoundCount> <targetCharNotFoundCount>839</targetCharNotFoundCount> <targetSegmentsPerFileFound>24</targetSegmentsPerFileFound> <targetSegmentsPerFileNotFound>11</targetSegmentsPerFileNotFound> </field> <field> <fieldName>target</fieldName> <charFoundCount>2875</charFoundCount> <charNotFoundCount>0</charNotFoundCount> <wordFoundCount>478</wordFoundCount> <wordNotFoundCount>0</wordNotFoundCount> <termFoundCount>59</termFoundCount> <termNotFoundCount>0</termNotFoundCount> <segmentsPerFile>117</segmentsPerFile> <segmentsPerFileFound>45</segmentsPerFileFound> <segmentsPerFileNotFound>0</segmentsPerFileNotFound> </field> </fields> </file> </files> <fields> <field> <fieldName>source</fieldName> <taskCharFoundCount>2632</taskCharFoundCount> <taskCharNotFoundCount>1602</taskCharNotFoundCount> <taskWordFoundCount>390</taskWordFoundCount> <taskWordNotFoundCount>234</taskWordNotFoundCount> <taskTermFoundCount>62</taskTermFoundCount> <taskTermNotFoundCount>22</taskTermNotFoundCount> <taskTargetCharFoundCount>2602</taskTargetCharFoundCount> <taskTargetCharNotFoundCount>1678</taskTargetCharNotFoundCount> <taskTargetWordFoundCount>430</taskTargetWordFoundCount> <taskTargetWordNotFoundCount>294</taskTargetWordNotFoundCount> <taskTargetSegmentsPerFileFound>48</taskTargetSegmentsPerFileFound> <taskTargetSegmentsPerFileNotFound>22</taskTargetSegmentsPerFileNotFound> </field> <field> <fieldName>target</fieldName> <taskCharFoundCount>5750</taskCharFoundCount> <taskCharNotFoundCount>0</taskCharNotFoundCount> <taskWordFoundCount>956</taskWordFoundCount> <taskWordNotFoundCount>0</taskWordNotFoundCount> <taskTermFoundCount>118</taskTermFoundCount> <taskTermNotFoundCount>0</taskTermNotFoundCount> </field> </fields> </import> <export> <files> <file> <fileName>20141121_RefExtrakt_RMbereinigt_plus_DELTAunbereinigt_ENG21.ENG.transit</fileName> <fileId>3539</fileId> <fields> <field> <fieldName>source</fieldName> <charFoundCount>1400</charFoundCount> <charNotFoundCount>640</charNotFoundCount> <wordFoundCount>207</wordFoundCount> <wordNotFoundCount>92</wordNotFoundCount> <termFoundCount>33</termFoundCount> <termNotFoundCount>9</termNotFoundCount> <segmentsPerFile>117</segmentsPerFile> <segmentsPerFileFound>25</segmentsPerFileFound> <segmentsPerFileNotFound>9</segmentsPerFileNotFound> <targetCharFoundCount>1380</targetCharFoundCount> <targetCharNotFoundCount>652</targetCharNotFoundCount> <targetSegmentsPerFileFound>25</targetSegmentsPerFileFound> <targetSegmentsPerFileNotFound>9</targetSegmentsPerFileNotFound> </field> <field> <fieldName>target</fieldName> <charFoundCount>2954</charFoundCount> <charNotFoundCount>0</charNotFoundCount> <wordFoundCount>494</wordFoundCount> <wordNotFoundCount>0</wordNotFoundCount> <termFoundCount>61</termFoundCount> <termNotFoundCount>0</termNotFoundCount> <segmentsPerFile>117</segmentsPerFile> <segmentsPerFileFound>46</segmentsPerFileFound> <segmentsPerFileNotFound>0</segmentsPerFileNotFound> </field> </fields> </file> <file> <fileName>20141121_RefExtrakt_RMbereinigt_plus_DELTAunbereinigt_ENG22.ENG.transit</fileName> <fileId>3540</fileId> <fields> <field> <fieldName>source</fieldName> <charFoundCount>1316</charFoundCount> <charNotFoundCount>801</charNotFoundCount> <wordFoundCount>195</wordFoundCount> <wordNotFoundCount>117</wordNotFoundCount> <termFoundCount>31</termFoundCount> <termNotFoundCount>11</termNotFoundCount> <segmentsPerFile>117</segmentsPerFile> <segmentsPerFileFound>24</segmentsPerFileFound> <segmentsPerFileNotFound>11</segmentsPerFileNotFound> <targetCharFoundCount>1301</targetCharFoundCount> <targetCharNotFoundCount>839</targetCharNotFoundCount> <targetSegmentsPerFileFound>24</targetSegmentsPerFileFound> <targetSegmentsPerFileNotFound>11</targetSegmentsPerFileNotFound> </field> <field> <fieldName>target</fieldName> <charFoundCount>2875</charFoundCount> <charNotFoundCount>0</charNotFoundCount> <wordFoundCount>478</wordFoundCount> <wordNotFoundCount>0</wordNotFoundCount> <termFoundCount>59</termFoundCount> <termNotFoundCount>0</termNotFoundCount> <segmentsPerFile>117</segmentsPerFile> <segmentsPerFileFound>45</segmentsPerFileFound> <segmentsPerFileNotFound>0</segmentsPerFileNotFound> </field> </fields> </file> </files> <fields> <field> <fieldName>source</fieldName> <taskCharFoundCount>2716</taskCharFoundCount> <taskCharNotFoundCount>1441</taskCharNotFoundCount> <taskWordFoundCount>402</taskWordFoundCount> <taskWordNotFoundCount>209</taskWordNotFoundCount> <taskTermFoundCount>64</taskTermFoundCount> <taskTermNotFoundCount>20</taskTermNotFoundCount> <taskTargetCharFoundCount>2681</taskTargetCharFoundCount> <taskTargetCharNotFoundCount>1491</taskTargetCharNotFoundCount> <taskTargetWordFoundCount>446</taskTargetWordFoundCount> <taskTargetWordNotFoundCount>261</taskTargetWordNotFoundCount> <taskTargetSegmentsPerFileFound>49</taskTargetSegmentsPerFileFound> <taskTargetSegmentsPerFileNotFound>20</taskTargetSegmentsPerFileNotFound> </field> <field> <fieldName>target</fieldName> <taskCharFoundCount>5829</taskCharFoundCount> <taskCharNotFoundCount>0</taskCharNotFoundCount> <taskWordFoundCount>972</taskWordFoundCount> <taskWordNotFoundCount>0</taskWordNotFoundCount> <taskTermFoundCount>120</taskTermFoundCount> <taskTermNotFoundCount>0</taskTermNotFoundCount> </field> </fields> </export> </statistics> |