How To Install perl-Lingua-EN-Tagger on Fedora 36

In this tutorial we learn how to install perl-Lingua-EN-Tagger in Fedora 36. perl-Lingua-EN-Tagger is Part-of-speech tagger for English natural language processing

Introduction

In this tutorial we learn how to install perl-Lingua-EN-Tagger on Fedora 36.

What is perl-Lingua-EN-Tagger

The module is a probability based, corpus-trained tagger that assigns POS tags to English text based on a lookup dictionary and a set of probability values. The tagger assigns appropriate tags based on conditional probabilities - it examines the preceding tag to determine the appropriate tag for the current word. Unknown words are classified according to word morphology or can be set to be treated as nouns or other parts of speech.

We can use yum or dnf to install perl-Lingua-EN-Tagger on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install perl-Lingua-EN-Tagger.

Install perl-Lingua-EN-Tagger on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install perl-Lingua-EN-Tagger using dnf by running the following command:

sudo dnf -y install perl-Lingua-EN-Tagger

Install perl-Lingua-EN-Tagger on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install perl-Lingua-EN-Tagger using yum by running the following command:

sudo yum -y install perl-Lingua-EN-Tagger

How To Uninstall perl-Lingua-EN-Tagger on Fedora 36

To uninstall only the perl-Lingua-EN-Tagger package we can use the following command:

sudo dnf remove perl-Lingua-EN-Tagger

perl-Lingua-EN-Tagger Package Contents on Fedora 36

/usr/lib64/perl5/vendor_perl/Lingua
/usr/lib64/perl5/vendor_perl/Lingua/EN
/usr/lib64/perl5/vendor_perl/Lingua/EN/Tagger
/usr/lib64/perl5/vendor_perl/Lingua/EN/Tagger.pm
/usr/lib64/perl5/vendor_perl/Lingua/EN/Tagger/pos_tags.hash
/usr/lib64/perl5/vendor_perl/Lingua/EN/Tagger/pos_words.hash
/usr/lib64/perl5/vendor_perl/Lingua/EN/Tagger/tags.yml
/usr/lib64/perl5/vendor_perl/Lingua/EN/Tagger/unknown.yml
/usr/lib64/perl5/vendor_perl/Lingua/EN/Tagger/words.yml
/usr/share/doc/perl-Lingua-EN-Tagger
/usr/share/doc/perl-Lingua-EN-Tagger/Changes
/usr/share/doc/perl-Lingua-EN-Tagger/README
/usr/share/man/man3/Lingua::EN::Tagger.3pm.gz

References

Summary

In this tutorial we learn how to install perl-Lingua-EN-Tagger on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).