english_words 2.0.0 copy "english_words: ^2.0.0" to clipboard
english_words: ^2.0.0 copied to clipboard

outdatedDart 1 only

Utilities for working with English words.

english_words #

Build status

A package containing the most ~5000 used English words and some utility functions.

Usage #

Printing the top 50 most used nouns in the English language:

import 'package:english_words/english_words.dart';

main() {
  nouns.take(50).forEach(print);
}

Computing number of syllables in a word:

syllables('beautiful');  // 3
syllables('abatement');  // 3
syllables('zoology');  // 4

Generating 5 interesting 2-syllable word combinations:

generateCombo().take(5).forEach(print);

Features and bugs #

Please file feature requests and bugs at the issue tracker.