APERTIUM-TAGGER(1)
β¨ APERTIUM-TAGGER(1) β¨
Okay bestie, this is the manual page for apertium-tagger π
It's the part-of-speech tagger and trainer for Apertium, so it can tag your text or train a model, depending on which flags you throw at it π§
πΈ NAME
apertium-tagger is the part-of-speech tagger and trainer for Apertium π
π¦ SYNOPSIS
apertium-tagger [options] -g serialized_tagger [input [output]]
apertium-tagger [options] -r iterations corpus serialized_tagger
apertium-tagger [options] -s iterations dictionary corpus tagger_spec
serialized_tagger tagged_corpus untagged_corpus
apertium-tagger [options] -s 0 dictionary tagger_spec serialized_tagger
tagged_corpus untagged_corpus
apertium-tagger [options] -s 0 -u model serialized_tagger tagged_corpus
apertium-tagger [options] -t iterations dictionary corpus tagger_spec
serialized_tagger
π DESCRIPTION
Okay so apertium-tagger is the app that handles the Apertium part-of-speech tagger, and whether it's training or tagging depends entirely on the calling options π₯ Lowkey important detail: it only reads from standard input if you use --tagger or -g π
π MODES
-g,--taggerβ Tags your input text using the Viterbi algorithm π«Ά-r n,--retrain nβ Retrains the model withnextra Baum-Welch iterations (unsupervised). Not compatible with-u(--unigram)! π-s n,--supervised nβ Starts the parameters off against a hand-tagged text (supervised) using the maximum likelihood estimate method, then runsniterations of the Baum-Welch training algorithm (unsupervised) β¨ The CRP argument can only be left out whenn = 0.-t n,--train nβ Initializes the parameters with Kupiec's method (unsupervised), then runsniterations of the Baum-Welch training algorithm (unsupervised) π
π§ MODELS
-u,--unigram=MODELβ Uses the unigram algorithmMODELfromhttps://coltekin.net/cagri/papers/trmorph-tools.pdfπ-w,--sliding-windowβ Uses the Light Sliding Window algorithm πͺ-x,--perceptronβ Uses the averaged perceptron algorithm π
β OPTIONS
-d,--debugβ Prints errors (if there are any) or debug messages while it's running π-e,--skip-on-errorβ Used with-xsto skip certain types of errors in the training corpus π-f,--firstβ Used with-g(--tagger) so the tagger gives you all the lexical forms of each word, with the chosen one sitting in the first place (after the lemma) π-m,--markβ Marks the disambiguated words π-p,--show-superficialβ Prints the superficial form of the word alongside the lexical form in the output stream π¦-z,--null-flushβ Used with-g(--tagger) to flush the output after getting each null character π--helpβ Displays a help message π«Ά
π FILES
These are the kinds of files each option uses ποΈ
dictionaryβ Full expanded dictionary file πcorpusβ Training text corpus file πtagger_specβ Tagger specification file, in XML format π§Ύserialized_taggerβ Tagger data file, built during training and used while tagging πΎtagged_corpusβ Hand-tagged text corpus π·οΈuntagged_corpusβ Untagged text corpus, the morphological analysis of the hand-tagged corpus, used together with the-soption π§©inputβ Input file, standard input by default π₯outputβ Output file, standard output by default π€
π SEE ALSO
Go check these out too πβ¨
π COPYRIGHT
Copyright Β© 2005, 2006 Universitat d'Alacant / Universidad de Alicante. This is free software ποΈ You're allowed to 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 that's the whole tea βπ Source: Apertium, February 22, 2021, APERTIUM-TAGGER(1). Stay iconic, bestie! πβ¨
π¦ 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