english3kdata
Version:
a list of the 3000 most frequent words in both spoken and written English
20 lines (14 loc) • 323 B
JavaScript
var lodash = require('lodash');
var wordList = require('./infowordlist');
module.exports = {
data: wordList,
getLength: function() {
return wordList.length;
},
getAll: function () {
return wordList;
},
find: function (params) {
return lodash.filter(wordList, params);
}
};