v4.0.0
english_words
用于处理英文单词的工具。计算音节数,生成听起来悦耳的词组组合,并提供对使用频率最高的前 5000 个英文单词的访问。
570喜欢 2.7万近 30 天下载160Pub 分数
AndroidiOSWebmacOSWindowsLinux
用于处理英文单词的工具
^1.1.0^1.16.8以下为英文项目原文快照,最新内容请访问 GitHub。
A package containing the most ~5000 used English words and some utility functions.
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);
Please file feature requests and bugs at the issue tracker.