How To Install wordnet on CentOS 7

In this tutorial we learn how to install wordnet on CentOS 7. wordnet is A lexical database for the English language

Introduction

In this tutorial we learn how to install wordnet on CentOS 7.

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 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 CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install wordnet.

Install wordnet on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install wordnet

Install wordnet on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

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

sudo dnf -y install wordnet

How To Uninstall wordnet on CentOS 7

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

sudo dnf remove wordnet

References

Summary

In this tutorial we learn how to install wordnet on CentOS 7 using yum and dnf.