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.