Git Product home page Git Product logo

wordnet-blast's Introduction

Wordnet Blast

Source: https://github.com/jardon-u/wordnet-blast
Changed:
- removed check for synsets amount
- added function that returns pointer to the first found synset: const std::vector<std::string> * wordnet::get_synset(const std::string& word, pos_t pos) const

Original README:

=====================================================================
          WordNet Blast
=====================================================================

In memory access to the wordnet onthology.

DEPENDENCIES:
        boost 1.46
        wordnet-sense-index
        colordiff (for wntest)

INSTALL:
        cmake CMakeLists.txt
        make

TESTS: (Beta)
        make check

USAGE:
        #include "wordnet.hh"
        #include "wnb/nltk_similarity.hh"

        using namespace std;
        using namespace wnb;

        int main()
        {
            wordnet wn(PATH_TO_WORDNET);

            vector<synset> synsets1 = wn.get_synsets("cat");
            vector<synset> synsets2 = wn.get_synsets("dog");

            nltk_similarity similarity(wn);
            float d = similarity(synsets1[0], synsets2[0], 6);
        }

BUGS:
        - Word Morphing is sometimes incorrect.

REFERENCE:
        George A. Miller (1995). WordNet: A Lexical Database for English.
        Communications of the ACM Vol. 38, No. 11: 39-41.

wordnet-blast's People

Contributors

evillique avatar jardon-u avatar jgsogo avatar

Watchers

 avatar  avatar

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.