TestWords
Simple object of the top 500+ vocabulary words used in SAT and TOEFL
Install the interface module into your node project with:
npm install --save testwords
Functionality
// ES2015var testwords = new require('testwords');// or ES6import Testwords from 'testwords'var testwords = new Testwords()// Return an object (fast associative array) of wordstestwords.sat // returns object of top words used in SAT teststestwords.toefl // returns object of top words used in TOEFL teststestwords.allwords // returns object of all words without duplication// Return array list of wordstestwords.satWordsList() // returns array of top words used in SAT teststestwords.toeflWordsList() // returns array of top words used in TOEFL teststestwords.allWordsList() // returns array of all words without duplication// Check an individual word is in TOEFL or SAT. Not case sensitive.// For more accuracy, normalize your word first with an NLP tool// such as "compromise" (https://www.npmjs.com/package/compromise)testwords.isSAT('vindication') // truetestwords.isTOEFL('vindication') // falsetestwords.isTestword('vindication') // true