Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Config NameDefault ValueDescription
runtimeOptions.plugins.SegmentStatistics.xlsTemplateExportmodules/editor/Plugins/SegmentStatistics/templates/export-template.xlsxPath to the XLSX export template. Path can be absolute or relative to the application directory.
runtimeOptions.plugins.SegmentStatistics.xlsTemplateImportmodules/editor/Plugins/SegmentStatistics/templates/import-template.xlsxPath to the XLSX import template. Path can be absolute or relative to the application directory.
runtimeOptions.plugins.SegmentStatistics.metaToIgnore.transitLockedForRefMat00 or 1; decides, if segments with metadata "transitLockedForRefMat" will be ignored by this plugin.

Statistic files created by this plugin

All files are created in the task data directory under "data/editorImportedTasks/TASKGUID/":

Code Block
languagetext
titlefiles created after import
segmentstatistics-import.xml				→ statistics in XML format, unfiltered
segmentstatistics-import-filtered.xml		→ statistics in XML format, filtered, only created if filters defined
segmentstatistics-import.xlsx				→ statistics in XLSX format, unfiltered
segmentstatistics-import-filtered.xlsx		→ statistics in XLSX format, filtered, only created if filters defined

Code Block
languagetext
titlefiles created after each export
segmentstatistics-export-2015-08-13-10-22.xml			→ statistics in XML format, unfiltered, timestamp of creation
segmentstatistics-export-2015-08-13-10-22-filtered.xml	→ statistics in XML format, filtered, only created if filters defined, timestamp of creation
segmentstatistics-export-2015-08-13-10-22.xlsx			→ statistics in XLSX format, unfiltered, timestamp of creation
segmentstatistics-export-2015-08-13-10-22-filtered.xlsx	→ statistics in XLSX format, filtered, only created if filters defined, timestamp of creation

XLSX Templates

In the plugin directory exists a "templates" directory, which contains templates for the XLSX files to be created. Two files are provided by translate5: "import-template.xlsx" and "export-template.xlsx".

...

  • 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 XLSX

See last Worksheet in the XLSX file.

Description of XML

The following commented example file, describes the content of an XML statistic file.

...