wordnet.table

0.2.2 • Public • Published

wordnet.table

NPM

Table for WordNet book.

const Table = require('wordnet.table');
// Table([name=[]], [type=[]], [synset=[]], [pointers=[]], [frames=[]])
// -> Table {<size>, <name>, <type>, <synset>, <pointers>, <frames>}
 
// Add sense.
// -> <id>
add(name, type, synset, [pointers=0], [frames=0])
 
// Delete sense.
// -> <length>
delete(id, [length=1])
 
// Setup from JSON.
// -> this
fromJson(json)
 
// Get as JSON.
// -> <json>
toJson()

Readme

Keywords

Package Sidebar

Install

npm i wordnet.table

Weekly Downloads

1

Version

0.2.2

License

MIT

Unpacked Size

2.2 kB

Total Files

3

Last publish

Collaborators

  • wolfram77