Giter Site home page Giter Site logo

shr100 / relation-extraction-in-knowledge-bases Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 34 KB

A Natural Language Processing based project that focuses on relation extraction between a pair of entities in Knowledge Bases using a clustering algorithm.

Python 100.00%
knowledge-bases relation-extraction

relation-extraction-in-knowledge-bases's Introduction

Relation Extraction in Knowledge Bases

A Natural Language Processing based project that focuses on relation extraction between a pair of entities in Knowledge Bases using a clustering algorithm. Created using Python and tested on gold standard KnowledgeNet relations.

USE : Can be used to identify and predict relations between a pair of entities, that can improve search results in Knowledge Bases, such as Google's search engine.

A description of files and folders in this project.

  1. json_extract_trees.py - Extracts trees from input json sentences. (In the real world, these would be queries that are input into the search engine.)
  2. subtree_extract.py - Extract SUBJECT-OBJECT subtrees from trees.
  3. k_means.py - Build positive and negative clusters for each relation . Clustering algorithm uses data matrix obtained by running random_sample.py, that compares subtrees with each other.
  4. logistic_reg.py - Trains and tests multi class logistic regressor.
  5. Test_data - Contains a small amount of data to test each program file.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.