smartDBCreate parses the input text file and creates mongoDB collections (refer to mongoDB folder for outputs for first w0 and second word w1 collections/tables). This helps do preprocessing on the static data to leverage mongodb querying capabilities. idea is to leverage indexing and use mongo pretty much as an inmemory database of commonly typed query terms instead of the entire huge file.
Merge https://github.com/thakkd/queryData