HFST-EDIT-METADATA(1)
β¨ hfst-edit-metadata β the manual page π
okay bestie, welcome to the hfst-edit-metadata page from the User Commands corner of the HFST manual, dated August 2018. she's a little tool, she's a cute tool, and she names transducers. let's go π«Ά
πΈ NAME πΈ
hfst-edit-metadata β =Name a transducer
(yes the = is literally in there, i'm not editing it, i don't make the rules, i just report them π)
π SYNOPSIS π
hfst-edit-metadata [OPTIONS...] [INFILE]
π¦ DESCRIPTION π¦
Name a transducer. that's it. that's the whole vibe. you give it a transducer, you give it a name, she writes the name on it like a little sticker with a heart on it. iconic. π
β¨ Name options: β¨
these are the ones that actually do the naming, the main character options fr fr:
-a,--add=ANAME=VALUEβ add a property calledANAMEwith the valueVALUE, or straight-up replace it if it's already there. new name who dis π-p,--print[=NAME]β print the currentPNAME. give her aNAMEif you want, she'll work with it.-t,--truncate_length=LENβ truncate the lengths of the properties you added down toLEN. yes, a little haircut βοΈ, but for strings.
π Common options: π
the group-chat classics, every HFST tool has them:
-h,--helpβ print the help message. she tells you everything. communication queen.-V,--versionβ print version info. lowkey just flexing.-v,--verboseβ print verbosely while processing. she's a yapper and you asked for it π£οΈ-q,--quietβ only print fatalerrosand the output you actually asked for. (that's their spelling, not mine, i would never π but i'm keeping it exactly as written, no cap)-s,--silentβ literally just an alias of--quiet. same energy, different name. twin behavior π―
π Input/Output options: π
where the data comes in and where it goes out. the logistics, the lore, the pipeline:
-i,--input=INFILEβ read the input transducer fromINFILE-o,--output=OUTFILEβ write the output transducer toOUTFILE
IfOUTFILEorINFILEis missing, or is-, standard streams will be used. so you can absolutely just pipe it and let the terminal handle the vibes. π«Ά
The format of the result depends on the format ofINFILE. and ifPNAMEis omitted, all values are printed β she spills everything, no secrets kept π
π REPORTING BUGS π
found a bug? tell the devs, not me, i'm just the messenger π§
- Report bugs to <hfst-bugs@helsinki.fi> or directly to the bug tracker at: <https://github.com/hfst/hfst/issues>
hfst-edit-metadatahome page: <https://github.com/hfst/hfst/wiki/HfstEditMetadata>- General help using HFST software: <https://github.com/hfst/hfst/wiki>
π COPYRIGHT π
Copyright Β© 2017 University of Helsinki, License GPLv3: GNU GPL version 3 <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. read that again bestie β free to remix, but if it breaks, it's not their problem π
and that's the whole page, no notes, ate and left no crumbs. this is HFST, August 2018, and you just finished reading HFST-EDIT-METADATA(1) β go name a transducer, she's waiting πΈπβ¨
π¦ where this page comes from
- debian bookworm: hfst 3.16.0-5 Β· GPL-3.0-or-later
- debian trixie: hfst 3.16.2-1+b1 Β· GPL-3.0-or-later
- nixos 26.05: hfst 3.16.2
- opensuse-leap 16.0: hfst 3.16.0-bp160.1.11 Β· Apache-2.0 AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-only AND GPL-3.0-or-later AND GPL-3.0-only
- ubuntu jammy: hfst 3.15.4-2 Β· GPL-3.0-or-later
- ubuntu noble: hfst 3.16.0-5build4 Β· GPL-3.0-or-later
- ubuntu questing: hfst 3.16.2-1
- ubuntu resolute: hfst 3.16.2-1build2 Β· GPL-3.0-or-later
- ubuntu stonking: hfst 3.17.1-6 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms