Awesome
hedges
List of supposed English (both British and American) hedge words.
Contents
- What is this?
- When should I use this?
- Install
- Use
- API
- Data
- Types
- Compatibility
- Related
- Contribute
- Security
- License
What is this?
This package exposes a list of hedge words, which are typically used to introduce ambiguity or indecisiveness.
When should I use this?
Use this when you want to do fun things with natural language.
Install
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>
Use
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' ]
API
This package exports the identifier hedges
.
There is no default export.
hedges
Roughly, hedges exposes information as a list of strings
(Array<string>
).
Data
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.
Types
This package is fully typed with TypeScript. It exports no additional types.
Compatibility
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.
Related
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
Contribute
Yes please! See How to Contribute to Open Source.
Security
This package is safe.
License
MIT Ā© Titus Wormer
<!-- Definitions -->