An open API service indexing awesome lists of open source software.

https://github.com/legend80s/verb-corpus

Complete English verb list.
https://github.com/legend80s/verb-corpus

Last synced: about 1 month ago
JSON representation

Complete English verb list.

Awesome Lists containing this project

README

        

Welcome to Verb Corpus 🚀




npm version


npm downloads

License: MIT


linter by git commit msg linter

> Almost COMPLETE English verb list.

There are thousands of regular verbs in English. This is a almost COMPLETE list of common regular verbs.

Note that there are some spelling variations in American English (for example, practise becomes practice in American English).

## Install

```sh
npm install --save verb-corpus
```

## Use

[Playground - RunKit](https://npm.runkit.com/verb-corpus).

```javascript
/** @type {{ programming: string[]; lexicon: string[]; complete: string[]; }} */
const { programming, lexicon, complete } = require('verb-corpus');

// Programming verbs
console.log(programming.length); // => 958

// Eric Brill's English lexicon verbs.
// The lexicon data is processed from POS tagging lib https://github.com/dariusk/pos-js.
console.log(lexicon.length); // => 3513

// Complete English verbs generated by union the programming and lexicon verbs and the 2 npm packages "english-verbs-gerunds" and "english-verbs-irregular" 1139
console.log(complete.length); // => 4249
```

## Features

- ✅ Super fast 🚀 because all the verbs are pre-built for performance and no run cost suffered.
- ✅ Almost COMPLETE English verb list.
- Programming commonly used verbs.
- POS Tagging database from Eric Brill's English lexicon verbs.
- Verbs from 2 npm packages "english-verbs-gerunds" and "english-verbs-irregular"

## Run tests

```sh
npm test # Powered by Vitest
```

## Publish

```sh
npm run pub:patch/minor/major
```

## Author

👤 **legend80s**

* Github: [@legend80s](https://github.com/legend80s)

## Show your support

Give a ⭐️ if this project helped you!

***
_This README was generated with ❤️ by [readme-md-generator](https://github.com/kefranabg/readme-md-generator)_