UNPKG

verb-corpus

Version:

Almost complete English verb list.

81 lines (54 loc) • 2.38 kB
<h1 align="center">Welcome to Verb Corpus šŸš€</h1> <p> <a href="https://www.npmjs.com/package/verb-corpus" target="_blank"> <img src="https://img.shields.io/npm/v/verb-corpus.svg" alt="npm version" /> </a> <a href="https://www.npmjs.com/package/verb-corpus"> <img src="https://img.shields.io/npm/dm/verb-corpus.svg" alt="npm downloads" /> </a> <img alt="License: MIT" src="https://img.shields.io/badge/License-MIT-yellow.svg" /> <a href="https://www.npmjs.com/package/git-commit-msg-linter" target="_blank"> <img alt="linter by git commit msg linter" src="https://img.shields.io/badge/git-commit%20msg%20linter-blue" /> </a> </p> > 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)_