APERTIUM-GEN-MODES(1)
β¨ APERTIUM-GEN-MODES(1) β¨ π
okay bestie, let's talk about apertium-gen-modes π
it's the intermediate mode file generator for Apertium π¦ and honestly? it's a whole vibe. it's part of the Apertium level 2 engine, so ngl you should literally never have to run it yourself π it's giving behind-the-scenes crew, not main character.
πΈ NAME πΈ
apertium-gen-modes β intermediate mode file generator for Apertium π
π§ SYNOPSIS π§
apertium-gen-modes modes_file [package_name]
π DESCRIPTION π
okay so here's the tea β it reads a modes_file and creates a whole series of .mode files from it π₯
- modes marked as install get dropped into the current directory π
- modes that are not meant to be installed (think debugging modes π) get tucked away into a
modesdirectory inside the linguistic data π«Ά
so basically: install-worthy modes go front and center, and the behind-the-scenes ones hide out in their own cozy spot β¨
π OPTIONS π
okay so there's no real flags situation here, but the package name is giving main character energy π
package_nameβ if you pass one in, the modes get built using the apertium install prefix plus your package name π wanna install the modes? then you need to specify a package name π«Ά don't want to install them? just leave it off and they'll stay out of the way π
π¦ FILES π¦
modes_fileβ an XML file that tellsapertium-gen-modeswhich scripts need to be created in themodesdirectory π
π SEE ALSO π
ngl these are the iconic besties you'll want to check out next π«Ά
apertium-interchunk(1)πΈapertium-postchunk(1)πΈapertium-validate-interchunk(1)πΈapertium-validate-modes(1)πΈapertium-validate-postchunk(1)πΈ
π COPYRIGHT π
Copyright Β© 2005, 2006 Universitat d'Alacant / Universidad de Alicante. π This is free software, so you can 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! π
Okay bestie, that's the whole page π Apertium, March 11, 2007 vibes, and honestly a certified classic ππ
π¦ where this page comes from
- debian bookworm: apertium-dev 3.8.3-1+b2 Β· GPL-2.0-or-later
- debian trixie: apertium-dev 3.9.12-1 Β· GPL-2.0-or-later
- ubuntu jammy: apertium-dev 3.7.2-2build2 Β· GPL-2.0-or-later
- ubuntu noble: apertium-dev 3.9.4-1build1 Β· GPL-2.0-or-later
- ubuntu questing: apertium-dev 3.9.12-1build1
- ubuntu resolute: apertium-dev 3.9.12-1build3 Β· GPL-2.0-or-later
- ubuntu stonking: apertium-dev 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