TMXCLEAN(1p)

πŸ“¦
version 0.39 Β· 3 versions
, in debian trixie, ubuntu resolute, ubuntu stonking

πŸ’– 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:

  1. have no letters… (unless you pass -junk=0) 🚫
  2. 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> 🫢

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