A base for a structure correction system
To use default keywords
python splitCode.pyTo use own keywords.txt
python splitCode.py keywords.txtIt uses all files in src/ to look for structure. It will create a directory structure/ for the output. It will create a directory inside structure/ for each structure of the file that it finds and ofcourse add that file into the directory.
Because the structure easily gets to long to be a directory name I hashed the structure of the file as the directory name and added a file called structure/*/structure.txt of the structure that has been found.