List of supposed English (both British and American) hedge words.
- What is this?
- When should I use this?
- Install
- Use
- API
- Data
- Types
- Compatibility
- Related
- Contribute
- Security
- License
This package exposes a list of hedge words, which are typically used to introduce ambiguity or indecisiveness.
Use this when you want to do fun things with natural language.
This package is ESM only. In Node.js (version 14.14+, 16.0+), install with npm:
npm install hedges
In Deno with esm.sh
:
import {hedges} from 'https://esm.sh/hedges@2'
In browsers with esm.sh
:
<script type="module">
import {hedges} from 'https://esm.sh/hedges@2?bundle'
</script>
import {hedges} from 'hedges'
console.log(hedges.length) //=> 162
console.log(hedges.slice(0, 10))
Yields:
[ 'a bit',
'about',
'actually',
'allege',
'alleged',
'almost',
'almost never',
'always',
'and all that',
'and so forth' ]
This package exports the identifier hedges
.
There is no default export.
Roughly, hedges exposes information as a list of strings
(Array<string>
).
For a complete list of supported hedge words and phrases, like, see
data.txt
.
👉 Note: that the words listed in hedges are speculated to be hedges, although perhaps not.
This package is fully typed with TypeScript. It exports no additional types.
This package is at least compatible with all maintained versions of Node.js. As of now, that is Node.js 14.14+ and 16.0+. It also works in Deno and modern browsers.
buzzwords
— list of buzzwordsdale-chall
— list of familiar American-English words (1995)fillers
— list of filler wordsprofanities
— list of profane wordsspache
— list of simple American-English words (1974)weasels
— list of weasel words
Yes please! See How to Contribute to Open Source.
This package is safe.