How To Install wordnet on Fedora 34

wordnet is A lexical database for the English language A lexical database for the English language

Introduction

In this tutorial we learn how to install wordnet on Fedora 34.

What is wordnet

WordNet is a large lexical database of English, developed under the direction of George A. Miller. Nouns, verbs, adjectives and adverbs are grouped into sets of cognitive synonyms (synsets), each expressing a distinct concept. Synsets are interlinked by means of conceptual-semantic and lexical relations. The resulting network of meaningfully related words and concepts can be navigated with the browser. WordNet is also freely and publicly available for download. WordNet’s structure makes it a useful tool for computational linguistics and natural language processing. wordnet 3.0 39.fc34 x86_64 8.0 M wordnet-3.0-39.fc34.src.rpm fedora A lexical database for the English language http MIT and GPLv2+ WordNet is a large lexical database of English, developed under the direction of George A. Miller. Nouns, verbs, adjectives and adverbs are grouped into sets of cognitive synonyms (synsets), each expressing a distinct concept. Synsets are interlinked by means of conceptual-semantic and lexical relations. The resulting network of meaningfully related words and concepts can be navigated with the browser. WordNet is also freely and publicly available for download. WordNet’s structure makes it a useful tool for computational linguistics and natural language processing.

We can use yum or dnf to install wordnet on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install wordnet.

Install wordnet on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install wordnet using dnf by running the following command:

sudo dnf -y install wordnet

Install wordnet on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install wordnet using yum by running the following command:

sudo yum -y install wordnet

How To Uninstall wordnet on Fedora 34

To uninstall only the wordnet package we can use the following command:

sudo dnf remove wordnet

wordnet Package Contents on Fedora 34

/usr/bin/wn
/usr/lib/.build-id
/usr/lib/.build-id/26
/usr/lib/.build-id/26/9152133ea14be25fd37e7e582c6dd4ebdf7c68
/usr/lib/.build-id/d2
/usr/lib/.build-id/d2/8e91ee29a14536b30a1c2842f3f02dfdc2b8e8
/usr/lib64/libWN.so.3
/usr/lib64/libWN.so.3.0.0
/usr/share/doc/wordnet
/usr/share/doc/wordnet/AUTHORS
/usr/share/doc/wordnet/COPYING
/usr/share/doc/wordnet/ChangeLog
/usr/share/doc/wordnet/README
/usr/share/man/man1/grind.1.gz
/usr/share/man/man1/wn.1.gz
/usr/share/man/man1/wnintro.1.gz
/usr/share/man/man5/cntlist.5.gz
/usr/share/man/man5/lexnames.5.gz
/usr/share/man/man5/senseidx.5.gz
/usr/share/man/man5/wndb.5.gz
/usr/share/man/man5/wninput.5.gz
/usr/share/man/man5/wnintro.5.gz
/usr/share/man/man7/morphy.7.gz
/usr/share/man/man7/uniqbeg.7.gz
/usr/share/man/man7/wngloss.7.gz
/usr/share/man/man7/wngroups.7.gz
/usr/share/man/man7/wnintro.7.gz
/usr/share/man/man7/wnlicens.7.gz
/usr/share/man/man7/wnpkgs.7.gz
/usr/share/man/man7/wnstats.7.gz
/usr/share/wordnet-3.0
/usr/share/wordnet-3.0/dict
/usr/share/wordnet-3.0/dict/adj.exc
/usr/share/wordnet-3.0/dict/adv.exc
/usr/share/wordnet-3.0/dict/cntlist
/usr/share/wordnet-3.0/dict/cntlist.rev
/usr/share/wordnet-3.0/dict/data.adj
/usr/share/wordnet-3.0/dict/data.adv
/usr/share/wordnet-3.0/dict/data.noun
/usr/share/wordnet-3.0/dict/data.verb
/usr/share/wordnet-3.0/dict/frames.vrb
/usr/share/wordnet-3.0/dict/index.adj
/usr/share/wordnet-3.0/dict/index.adv
/usr/share/wordnet-3.0/dict/index.noun
/usr/share/wordnet-3.0/dict/index.sense
/usr/share/wordnet-3.0/dict/index.verb
/usr/share/wordnet-3.0/dict/lexnames
/usr/share/wordnet-3.0/dict/log.grind.3.0
/usr/share/wordnet-3.0/dict/noun.exc
/usr/share/wordnet-3.0/dict/sentidx.vrb
/usr/share/wordnet-3.0/dict/sents.vrb
/usr/share/wordnet-3.0/dict/verb.Framestext
/usr/share/wordnet-3.0/dict/verb.exc
/usr/share/wordnet-3.0/lib
/usr/bin/wn
/usr/lib/.build-id
/usr/lib/.build-id/7d
/usr/lib/.build-id/7d/568fa9a47d29da9c2fef4dbf8bf1cb79d67218
/usr/lib/.build-id/a8
/usr/lib/.build-id/a8/d64435b57e1f8e9aa6a8376418435a927429c2
/usr/lib/libWN.so.3
/usr/lib/libWN.so.3.0.0
/usr/share/doc/wordnet
/usr/share/doc/wordnet/AUTHORS
/usr/share/doc/wordnet/COPYING
/usr/share/doc/wordnet/ChangeLog
/usr/share/doc/wordnet/README
/usr/share/man/man1/grind.1.gz
/usr/share/man/man1/wn.1.gz
/usr/share/man/man1/wnintro.1.gz
/usr/share/man/man5/cntlist.5.gz
/usr/share/man/man5/lexnames.5.gz
/usr/share/man/man5/senseidx.5.gz
/usr/share/man/man5/wndb.5.gz
/usr/share/man/man5/wninput.5.gz
/usr/share/man/man5/wnintro.5.gz
/usr/share/man/man7/morphy.7.gz
/usr/share/man/man7/uniqbeg.7.gz
/usr/share/man/man7/wngloss.7.gz
/usr/share/man/man7/wngroups.7.gz
/usr/share/man/man7/wnintro.7.gz
/usr/share/man/man7/wnlicens.7.gz
/usr/share/man/man7/wnpkgs.7.gz
/usr/share/man/man7/wnstats.7.gz
/usr/share/wordnet-3.0
/usr/share/wordnet-3.0/dict
/usr/share/wordnet-3.0/dict/adj.exc
/usr/share/wordnet-3.0/dict/adv.exc
/usr/share/wordnet-3.0/dict/cntlist
/usr/share/wordnet-3.0/dict/cntlist.rev
/usr/share/wordnet-3.0/dict/data.adj
/usr/share/wordnet-3.0/dict/data.adv
/usr/share/wordnet-3.0/dict/data.noun
/usr/share/wordnet-3.0/dict/data.verb
/usr/share/wordnet-3.0/dict/frames.vrb
/usr/share/wordnet-3.0/dict/index.adj
/usr/share/wordnet-3.0/dict/index.adv
/usr/share/wordnet-3.0/dict/index.noun
/usr/share/wordnet-3.0/dict/index.sense
/usr/share/wordnet-3.0/dict/index.verb
/usr/share/wordnet-3.0/dict/lexnames
/usr/share/wordnet-3.0/dict/log.grind.3.0
/usr/share/wordnet-3.0/dict/noun.exc
/usr/share/wordnet-3.0/dict/sentidx.vrb
/usr/share/wordnet-3.0/dict/sents.vrb
/usr/share/wordnet-3.0/dict/verb.Framestext
/usr/share/wordnet-3.0/dict/verb.exc
/usr/share/wordnet-3.0/lib

References

Summary

In this tutorial we learn how to install wordnet on Fedora 34 using yum and dnf.