Giter Club home page Giter Club logo

wordnet-db's Introduction

wordnet-db

NPM version Build Status

A package to install WordNet database files for Node.js modules. Used by wordpos project which is based on natural WordNet module.

Note: This repository was previously name WNdb. Its new name complies with npm naming rules. Although old links will still work, it is recommended to change references to the new name.

Description

This package contains the core DB files of WordNet 3.1 downloaded from WordNet files.

Other "standoff" files may be added in the future.

The purpose of this package is to allow a convenient way to download WordNet files off-line rather than on-demand for node modules that require it.

Installation

npm install wordnet-db

or in your package.json dependencies:

  ...
  "dependencies": {
    "wordnet-db": "wordnet-db"
  },
  ...

Package is about 10 MB in size and uncompresses to about 34 MB. The DB file wordnet-db-3.1.tar.gz is unpacked at install time.

Usage

var wndb = require('wordnet-db');
console.log(wndb);
// output:
{ version: '3.1',
  path: 'c:\\wordpos\\node_modules\\wordnet-db\\dict',
  files:
   [ 'data.adj',
     'data.adv',
     'data.noun',
     'data.verb',
     'index.adj',
     'index.adv',
     'index.noun',
     'index.sense',
     'index.verb' ]
}

Properties

wndb.path (string) -- the path to the installed WordNet DB files

wndb.files (array) -- list of file names under the path

wndb.version (string) -- version string of WordNet database file

Changes

3.1.4 -- Updated with PR #12. Fix npm package.

3.1.2 -- repository renamed to wordnet-db.

3.1.1 -- fixed WNdb tar folder structure.

3.1.0 -- updated to WordNet 3.1 DB.

3.0.1 -- this includes the actual WordNet tar file, which is unpacked at install time. There should be no CRLF issues. Uses build-in 'zlib' package, therefore requires node >= 0.6.

3.0.0 -- includes the uncompressed (text) dict files. On Windows systems, do a git config core.autocrlf false before cloning so that CRLF isn't applied to data files.

3.0.x are pegged to WordNet 3.0 DB.

License

wordnet-db package: Copyright (c) 2012-2017, [email protected] (The MIT License)

See LICENSE file for complete Princeton University WordNet(r) License.

wordnet-db's People

Contributors

moos 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.