# wordnet.lextype

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

Latest version **0.1.5** (published 2018-02-12) · MIT license · 0 weekly downloads

## Install

```sh
npm install wordnet.lextype
pnpm add wordnet.lextype
yarn add wordnet.lextype
bun add wordnet.lextype
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.5 |
| Published | 2018-02-12 |
| First published | 2018-01-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 1.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | wolfram77@gmail.com |
| Maintainers | wolfram77 |
| Keywords | wordnet, lex, type |

## Links

- npm: https://www.npmjs.com/package/wordnet.lextype
- npm.io page: https://npm.io/package/wordnet.lextype

## Dependencies (1)

- [wordnet.lexnumber](https://npm.io/package/wordnet.lexnumber.md) ^0.1.5

## Alternatives

- [@openai/codex-sdk](https://npm.io/package/@openai/codex-sdk.md) — 731.4K weekly downloads
- [babel-plugin-transform-react-jsx](https://npm.io/package/babel-plugin-transform-react-jsx.md) — 565.0K weekly downloads
- [babel-helper-remove-or-void](https://npm.io/package/babel-helper-remove-or-void.md) — 508.5K weekly downloads
- [@pnpm/store-controller-types](https://npm.io/package/@pnpm/store-controller-types.md) — 186.9K weekly downloads
- [react-native-signature-canvas](https://npm.io/package/react-native-signature-canvas.md) — 155.6K weekly downloads

## Recent versions

- 0.1.5 (latest) — 2018-02-12
- 0.1.4 — 2018-02-12
- 0.1.3 — 2018-01-17
- 0.1.2 — 2018-01-17
- 0.1.1 — 2018-01-17
- 0.1.0 — 2018-01-17
- 0.0.8 — 2018-01-17
- 0.0.7 — 2018-01-17
- 0.0.6 — 2018-01-17
- 0.0.5 — 2018-01-17
- 0.0.4 — 2018-01-17
- 0.0.3 — 2018-01-17
- 0.0.2 — 2018-01-17
- 0.0.1 — 2018-01-17

## README

# wordnet.lextype

[![NPM](https://nodei.co/npm/wordnet.lextype.png)](https://nodei.co/npm/wordnet.lextype/)

Get lex type of [WordNet] from lex number & lex id.
> Use [wordnet.lextype-tolexnumber], if lex number is needed.<br>
> Use [wordnet.lextype-tolexid], if lex id is needed.

```javascript
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
```


[WordNet]: https://wordnet.princeton.edu/wordnet/
[wordnet.lextype-tolexnumber]: https://www.npmjs.com/package/wordnet.lextype-tolexnumber
[wordnet.lextype-tolexid]: https://www.npmjs.com/package/wordnet.lextype-tolexid

---
_Source: https://npm.io/package/wordnet.lextype · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
