repeated-words
Version:
Processes paragraphs of text to identify repeated words and exports a file with the frequency of each word.
22 lines (20 loc) • 476 B
JavaScript
import {
countRepeatedWordsInParagraphs,
extractParagraphs,
verifyRepeatedWords,
} from "./service/paragraphWordCounter.js";
import {
createAndSaveFile,
mountOutputFile,
processFile,
} from "./service/fileManipulation.js";
import { objectToFormattedArray } from "./utils/formattingUtils.js";
export {
countRepeatedWordsInParagraphs,
extractParagraphs,
verifyRepeatedWords,
createAndSaveFile,
mountOutputFile,
processFile,
objectToFormattedArray,
};