logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

tmxclean - Simple tool to clean TMX files

Authors

       •   Alberto Simões <ambs@cpan.org>

       •   José João Almeida <jj@di.uminho.pt>

Description

       Removes the translation units (TU) that

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

Name

       tmxclean - Simple tool to clean TMX files

See Also

       XML::TMX

Synopsis

         $ 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

Version

       version 0.39

See Also