Writing a python program to parse basic text input files (multiple) and generate an inverted index output file (one).
Looking for some tips. Let me know if I'm doing these steps incorrectly or what may need to be added.
First thing - Take in arguments - Program name, folder name(with files) - I'll probably need a loop to go through each file?
I need to sort the dictionary of terms, and strip the terms
I'll strip before, so would it be best to strip line by line?
Assuming that once I parse the files I can just .sort them?
Guess I'm not really sure where to go from here, wondering if you guys could push me in the right direction.
Thanks
