Skip to content

Database of hypernym relations - support construction and discovery of a hypernym query.

Notifications You must be signed in to change notification settings

yossix07/Hypernym-Relations-Database

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hypernym-Relations-Database

A little preview - Hypernymy (also called IS-A relation) is a semantic relation between two noun phrases, hypernym and hyponym, such that the hyponym is a subtype of the hypernym. For example, cat and dog are hyponym of animal because they are types of animals. Hypernym relations are hierarchical, so a word can have multiple hypernyms. For example, dog is a hyponym of animal, canine and mammal.

Project Description - In this project there are two part: Creating a Hypernym-Relations database and discovering a lemma(hypernym) in a Hypernym-Relations database.

  • In the first part, the program reads all the files in the given directory path, finds and aggregates hypernym relations that match the Hearst patterns using regular expressions, and save them in a txt file at the given output path.
  • In the second part, the program searches all the possible hypernyms of the input lemma and prints them and their number of appearances to the console.

About

Database of hypernym relations - support construction and discovery of a hypernym query.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages