Count the vocabulary available in a pageset, by source and part of speech. Emits counts only — no word lists.
Optional
const processor = new GridsetProcessor();const tree = await processor.loadIntoTree('my.gridset');const metrics = new MetricsCalculator().analyze(tree);const dump = dumpVocabulary(tree, { metrics });console.log(dump.summary.wordLists.lists, 'wordlists'); Copy
const processor = new GridsetProcessor();const tree = await processor.loadIntoTree('my.gridset');const metrics = new MetricsCalculator().analyze(tree);const dump = dumpVocabulary(tree, { metrics });console.log(dump.summary.wordLists.lists, 'wordlists');
Count the vocabulary available in a pageset, by source and part of speech. Emits counts only — no word lists.