0.1.5 • Published 6 years ago

wordnet.lextype v0.1.5

Weekly downloads
3
License
MIT
Repository
-
Last release
6 years ago

wordnet.lextype

NPM

Get lex type of WordNet from lex number & lex id.

Use wordnet.lextype-tolexnumber, if lex number is needed. Use wordnet.lextype-tolexid, if lex id is needed.

const lexType = require('wordnet.lextype');
// lexType(<lex_number>, [lex_id=0])
// lexType(<string>)
// (format: [8-bit lex_number][6-bit lex_id])

lexType(65, 7);
// 4167

lexType('noun.act.1');
// 65
lexType('noun.act');
// 64
lexType('noun.1');
// 1
lexType('n.1');
// 1
lexType('n');
// 0
0.1.5

6 years ago

0.1.4

6 years ago

0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago

0.0.8

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago