english_words 4.0.0 copy "english_words: ^4.0.0" to clipboard
english_words: ^4.0.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 #

  • Bump null safety to stable

4.0.0-nullsafety.0 #

  • Migrate to null safety

3.1.5 #

  • Remove optional new and const

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 to generateWordPairs()
  • 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 longer const
  • BREAKING: WordPair will reject words that are null or empty
  • Add .asCamelCase, .asPascalCase, .asLowerCase and .asUpperCase getters to WordPair. 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 to generateWordPairs()
  • generateWordPairs() takes a safeOnly named argument. If set to true (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
546
likes
160
pub points
99%
popularity

Publisher

verified publisherfiliph.net

Utilities for working with English words. Counts syllables, generates well-sounding word combinations, and provides access to the top 5000 English words by usage.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

string_scanner

More

Packages that depend on english_words