Giter Club home page Giter Club logo

wnext's Introduction

wnext

Seemlessly add extensions to NLTK's Wordnet implementation.

# Access Sentiwordnet Corpus
>>> from nltk.corpus import wordnet as wn
>>> from wnext import sentiwordnet
>>> able = wn.synset('able.a.01')
>>> print able.sentiment()
(0.125, 0.0)

# Access eXtended WordNet Domains (XWND) 
>>> from wnext import wndomains
>>> book = wn.synset('book.n.01')
>>> book.domains()[:5]
[('roman_catholic', 0.00319282), ('publishing', 0.00285319), ('philology', 0.00133688), ('literature', 0.00092217), ('pedagogy', 0.000497682)]

# Access GeoWordnet data
>>> from nltk.corpus import wordnet as wn
>>> from wnext import geowordnet
>>> washington = wn.synset('washington.n.01')
>>> print washington.geo()
('4140963', 38.8951118, -77.0363658)

Extensions

  • SentiWordNet is a lexical resource for opinion mining. SentiWordNet assigns to each synset of WordNet three sentiment scores: positivity, negativity, objectivity. Sentiwordnet website
  • XWND is an ongoing work aiming to automatically improve WordNet Domains. First, the original domain labels aligned to WordNet 1.6 have been projected to WordNet 3.0 using the automatic mappings across WordNet versions. XWND website
  • GeoWordNet is a semantic resource built from the full integration of WordNet, GeoNames and the Italian part of MultiWordNet. GeoWordnet Website

License

SentiWordNet is distributed under the Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0) license .

XWND is distributed under Attribution 3.0 Unported (CC BY 3.0) license.

The GeoWordNet Public Dataset is distributed under the Creative Commons Attribution 3.0 Unported License license terms and conditions.

wnext's People

Contributors

bogsio avatar

Stargazers

Boris avatar Zaki Mughal [sivoais] avatar György Orosz avatar Smrutiranjan Sahu avatar Fabrizio Milo avatar  avatar Daniel Spokoyny avatar Pantelis Koukousoulas avatar Iulius Curt avatar  avatar

Watchers

 avatar

Forkers

prashiyn

wnext's Issues

install wnext-master

Hi Bogdan-ivanov,

I have downloaded your zip file(wnext-master.zip) and extracted .
please let me know how to install this python module in ubuntu linux 14.04.

regards
dk venkatesh babu

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.