#OmegaT target statistics

This post is about a quick and dirty hack that allows to get target statistics for OmegaT current project. Well, actually, there’s not much of a hack other than downloading and running a script, but the script itself is just a first take on the idea. It dumps out the statistics into the Scripting window console, and copies it to the clipboard so it can be easily pasted into a spreadsheet application. Like this:

TargetStats_ScriptingWindow.png

TargetStats_Spreadsheet
The script doesn’t discriminate between unique and non-unique segments, and doesn’t include tags in the statistics.

It can be downloaded here:

show_target_statistics.groovy

DISCLAIMER: Please, use with caution, as it hasn’t been tested very thoroughly. In my few quick tests it calculated very accurately,  but if you cheat or get cheated because of the script, it’s not my fault.

UPDATE: Thanks to Briac Pilpre, the script now shows MS Word-compatible word count for source and target files.


 

But as of now,

Good Luck

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s