DOKK / manpages / debian 12 / libxml-tmx-perl / tmxclean.1p.en
TMXCLEAN(1p) User Contributed Perl Documentation TMXCLEAN(1p)

tmxclean - Simple tool to clean TMX files

version 0.39

  $ tmx-clean file.tmx
    -junk     remove if one of the languages just have junk (def: True)
    -eq       remove if seg(l1) = seg(l2)
    -len      remove if len(li) > 50 ∧ len(lj) > 2len(li)
    -output=out.tmx
    -v, -verbose
    -all             same as -junk -eq -len

Removes the translation units (TU) that

 1. have no letters...  (unless -junk=0)
 2. seg(L1) = seg(L2)   (if -eq)

XML::TMX

  • Alberto Simões <ambs@cpan.org>
  • José João Almeida <jj@di.uminho.pt>

This software is copyright (c) 2010-2017 by Projeto Natura <natura@di.uminho.pt>.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

2022-07-11 perl v5.34.0