Currently main.py handles the Bag of Words model and nlpmain.py handles the Bag of Concepts model. It might be good to combine these two and allow the user to simply specify which model to use as a command line parameter. This will prevent duplicate code and simplify maintenance in some ways. It might be good to analyse the differences and similarities before merging them to prevent any bugs.
nlpmain.py should use the same system as main.py using a comparasin of the parameters to determine if the file needs re-indexing.
Currently main.py handles the Bag of Words model and nlpmain.py handles the Bag of Concepts model. It might be good to combine these two and allow the user to simply specify which model to use as a command line parameter. This will prevent duplicate code and simplify maintenance in some ways. It might be good to analyse the differences and similarities before merging them to prevent any bugs.
nlpmain.py should use the same system as main.py using a comparasin of the parameters to determine if the file needs re-indexing.