Project Repository Link Pig Latin
-
Each node process hasn’t used more than 50M RAM usage.
-
Printed the execution time.
-
Output to a single text file.
-
Paragraphs are ordered as its original order.
Setup
you need to install nodejs
& npm
in your system to run this project. Once you have installed the nodejs and npm in your system, you need to install the project dependencies.
This project depends on a text file which is stored in pdf folder.
Instruction
Run this command in the project root
npm i
Run this command in the project root
npm start
See the temp folder for the output file.
I have implemented extra logic for Pig Latin. For words that begin with consonant sounds, all letters before the initial vowel are placed at the end of the word sequence. Then, "ay" is added.
Run this command in the project root
npm start -- algo
My GitHub