TMXCLEAN(1p)
π TMXCLEAN π
okay bestie, so this is tmxclean β the chillest little tool for cleaning up TMX files (that's Translation Memory eXchange, iykyk). It's living in the Perl user-contributed docs section, and honestly? She's simple, she's effective, she's iconic. β¨
πΈ VERSION πΈ
version 0.39 β yes queen, we're on 0.39 π
β¨ SYNOPSIS β¨
like, here's the whole vibe, verbatim:
$ 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
so you point it at a file.tmx and then sprinkle on whatever flags you're feeling. π¦
π DESCRIPTION π
She removes the translation units (TU) that:
- have no letters⦠(unless you pass
-junk=0) π« - match when
seg(L1) = seg(L2)(only if you turn on-eq) π
that's it. that's the job. no notes. periodt.
friendly lil heads up: she's picky about which TUs get the boot, so double-check before you delete a whole translation unit's moment. π
π SEE ALSO π
XML::TMXβ the main character library behind all this π«
π AUTHORS π
- Alberto SimΓ΅es
<ambs@cpan.org>π«Ά - JosΓ© JoΓ£o Almeida
<jj@di.uminho.pt>π«Ά
π COPYRIGHT AND LICENSE π
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. slay, open source fr fr π
and that's the whole page, bestie!! this cutie was generated by perl v5.38.2 back on 2024-03-09, and it's filed under TMXCLEAN(1p) in your friendly neighborhood manual. go clean some TMX files, you got this. π
β¨π¦πΈ
π¦ where this page comes from
- debian trixie: libxml-tmx-perl 0.39-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libxml-tmx-perl 0.39-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libxml-tmx-perl 0.39-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms