FLUTTER ECOSYSTEM

filiph/english_words

用于处理英文单词的工具

english_words 项目封面
Stars
219
Forks
66
最近推送(UTC)
2023年7月22日
项目状态
未归档
Filip Hracek GitHub avatar
GITHUB User

Filip Hracek ↗

Builds games and silly software experiments in @flutter, @dart-lang and sometimes other technologies.

RaindeadPrague, Czechia官方网站 ↗
语言Dart

此仓库发布的插件

使用的依赖

依赖清单 2 项

原始 README

以下为英文项目原文快照,最新内容请访问 GitHub。

展开 / 收起项目 README

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.