Skip to content

Commit

Permalink
use tar.gz DB file and unpack at install. Bump version to 3.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
moos committed May 7, 2012
1 parent a8bb5c8 commit 55d702b
Show file tree
Hide file tree
Showing 13 changed files with 46 additions and 480,127 deletions.
19 changes: 15 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,18 +43,19 @@ The purpose of this package is to allow a convenient way to download WordNet fil
Installation
------------

npm install WNdb -g (coming)
npm install WNdb

or, in the meantime, use an __http__ path in your package.json dependencies:
or, use a git url in your package.json dependencies:

```
...
"dependencies": {
"WNdb": "http://github.com/moos/WNdb/tarball/master"
"WNdb": "git://github.com/moos/WNdb.git"
},
...
```
__NOTE__: do not use the git path "git://github.com/moos/WNdb.git" as this will mess up CRLF (if git config core.autocrlf is true) of the WordNet data files.

Package is about __10 MB__ in size and uncompresses to about 34 MB.

Properties
------------
Expand All @@ -66,6 +67,16 @@ WNdb.files (array) -- list of file names under the path
WNdb.version (string) -- version string of WordNet database file


Changes
---------

v3.0.x are pegged to WordNet 3.0 DB.

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

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


License
-------

Expand Down
Binary file added WNdb-3.0.tar.gz
Binary file not shown.
18,185 changes: 0 additions & 18,185 deletions dict/data.adj

This file was deleted.

3,650 changes: 0 additions & 3,650 deletions dict/data.adv

This file was deleted.

82,144 changes: 0 additions & 82,144 deletions dict/data.noun

This file was deleted.

13,796 changes: 0 additions & 13,796 deletions dict/data.verb

This file was deleted.

Loading

0 comments on commit 55d702b

Please sign in to comment.