filiph / english_words

Utilities for working with English words

Home Page:https://pub.dartlang.org/packages/english_words

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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:

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

Features and bugs

Please file feature requests and bugs at the issue tracker.

About

Utilities for working with English words

https://pub.dartlang.org/packages/english_words

License:MIT License


Languages

Language:Dart 100.0%