english_words 4.0.0-nullsafety.0 english_words: ^4.0.0-nullsafety.0 copied to clipboard
Utilities for working with English words. Counts syllables, generates well-sounding word combinations, and provides access to the top 5000 English words by usage.
4.0.0-nullsafety.0 #
- Migrate to null safety
3.1.5 #
- Remove optional
new
andconst
3.1.4 #
- Bug fix: Remove duplicates from
all
3.1.3 #
- Update dependency of
pkg:test
to 1.0
3.1.1 #
- Allow Dart 2
3.1.0 #
- Allow injecting
Random
togenerateWordPairs()
- Add
WordPair.random()
constructor for easier creation of a single word combo
3.0.1 #
- Fix bug that made an unsafe word get generated despite ban
3.0.0 #
- BREAKING:
WordPair
constructor is no longerconst
- BREAKING:
WordPair
will reject words that arenull
or empty - Add
.asCamelCase
,.asPascalCase
,.asLowerCase
and.asUpperCase
getters toWordPair
. These are memoized, so they're faster to access. - Add 'sex' to unsafe words
- Stricter strong mode turned on
- Lints resolved
2.0.4 #
- Make
generateWordPairs
10-20x faster for the most common use case (i.e. running the function with all named parameters at default values).
2.0.3 #
- Add 'rape' to unsafe words
2.0.2 #
- Add 'AIDS' to unsafe words
2.0.1 #
- Update README with refactor to
generateWordPairs
2.0.0 #
- The
generateCombo()
function has been renamed togenerateWordPairs()
generateWordPairs()
takes asafeOnly
named argument. If set totrue
(default), it will avoid wordpairs like "ballsack" or anything containing "ass", "shit", "fucking", etc.- Add benchmark for
GenerateWordPair()
- Add exception for "cruel"
1.1.2 #
- Fix exceptions like "poet" and "conscious"
1.1.1 #
- Fix words like "dying" and "flying" to be disyllabic
1.1.0 #
- Use
string_scanner
instead of RegExp replace for most syllable counting - 400% faster syllable counting
1.0.0 #
- Make the
syllables()
function work on 99+% cases - semver guarantee
0.0.1 #
- Initial version