TMX-TOKENIZE(1p)
โจ NAME โจ
okay so this is tmx-tokenize โ a lil command-line bestie from the User Contributed Perl Documentation section (manual page TMX-TOKENIZE(1p), iykyk ๐
). What does it do? It tokenizes translation units on a tmx file. that's it, that's the whole vibe ๐
๐ธ VERSION ๐ธ
this one's rockin' version 0.39 โ periodt โจ
๐ฆ SYNOPSIS ๐ฆ
the two iconic ways to run her:
tmx-tokenize file.tmx # creates t_file.tmx
tmx-tokenize -o=out.tmx file.tmx
like... run it on a file, it makes t_file.tmx for you. or tell it exactly where you want the output with -o=out.tmx and it does that instead. main character energy fr fr ๐
๐ DESCRIPTION ๐
so here's the tea โ โ even though this script comes bundled inside XML::TMX, it's got a soft dependency on Lingua::FreeLing3. soft means the dependency is not guaranteed at install time, and you can still use all the other features of the module without Lingua::FreeLing3 ever showing up. ngl, so chill of it.
but bestie... if you actually wanna use this tool, you should install that module. no cap. ๐
right now, the supported languages are exactly the ones FreeLing3 supports, and the list is:
- English ๐ฌ๐ง
- Spanish ๐ช๐ธ
- Russian ๐ท๐บ
- Portuguese ๐ต๐น
- Italian ๐ฎ๐น
if your TMX file has any other language in it, those get maintained without a change โ untouched, unbothered, thriving ๐ง
and just so you know, this behavior can change in the future, because a basic regexp based tokenizer might get implemented. so like, don't build your whole personality on it staying the same ๐
๐ฅ SEE ALSO ๐ฅ
go read these too, they're literally so good:
XML::TMXLingua::FreeLing3
๐ AUTHORS ๐
the icons who made this happen:
- 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, legally speaking โจ
and that's the whole page, bestie โ manual TMX-TOKENIZE(1p), brought to you by perl v5.38.2, dated 2024-03-09. mwah ๐
๐
๐ฆ 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