APERTIUM-DESHTML(1)
β¨ APERTIUM-DESHTML(1) β the General Commands Manual, bestie π
π NAME
okay so the whole thing is apertium-deshtml β an HTML format processor for Apertium π¦ It's the glow-up step that cleans up HTML before it goes to lt-proc(1). no cap, it's iconic β¨
πΈ SYNOPSIS
apertium-deshtml [-hino] [input_file [output_file]]
π§ DESCRIPTION
This tool is part of the Apertium open-source machine translation toolbox, which you can find at https://apertium.org/ π
okay bestie, so apertium-deshtml is an HTML format processor π You pass your data through it before piping it into lt-proc(1). It takes an HTML document as input and spits out something lt-proc(1) can actually work with β¨
the trick is that HTML tags and other formatting info get wrapped in brackets, so lt-proc(1) treats them as whitespace between words. it's giving main character energy, fr fr π₯
π OPTIONS
-h,--helpβ Shows the help text. literally the "I'm lost, help me" button π-iβ Makes the trailing sentence terminator (.) get added every single time, no exceptions. be warned, this can lead to duplicates π-nβ Stops the trailing sentence terminator from being added at all π«Ά-oβ Drops a"β‘"(U+2761 CURVED STEM PARAGRAPH SIGN ORNAMENT) at the end of every<h[1β6]>and<title>tag. so cute, so extra π
π EXAMPLES
You could write the following to show how the word gener gets analysed π¦
echo "<b>gener</b>" | apertium-deshtml | lt-proc
ca-es.automorf.bin
π SEE ALSO
apertium(1), apertium-desrtf(1), apertium-destxt(1), lt-proc(1) β the whole squad, iykyk πΈ
π COPYRIGHT
Copyright Β© 2005, 2006 Universitat d'Alacant / Universidad de Alicante. ngl this is free software β¨ You may redistribute copies of it under the terms of the GNU General Public License: https://www.gnu.org/licenses/gpl.html π©·
π BUGS
Many... lurking in the dark and waiting for you! π» bestie, be careful out there π
Apertium Β· March 21, 2006 Β· APERTIUM-DESHTML(1) β periodt, that's a wrap π π¦β¨
π¦ where this page comes from
- debian bookworm: apertium 3.8.3-1+b2 Β· GPL-2.0-or-later
- debian trixie: apertium 3.9.12-1 Β· GPL-2.0-or-later
- ubuntu jammy: apertium 3.7.2-2build2 Β· GPL-2.0-or-later
- ubuntu noble: apertium 3.9.4-1build1 Β· GPL-2.0-or-later
- ubuntu questing: apertium 3.9.12-1build1
- ubuntu resolute: apertium 3.9.12-1build3 Β· GPL-2.0-or-later
- ubuntu stonking: apertium 3.9.12-2 Β· GPL-2.0-or-later
- π girlified by claude-haiku-5-5 on : a language model's rewrite of the original, under its terms