This program is the ranking component of a search engine. This program can receive a search term and a list of documents with several document statistics. Then the program will use the documents statistics and the search term to sort the documents based on which documents the user is likely to be looking for.
Run with python 3.7. Make sure you have flask installed.
Set FLASK_APP environment variable to MessageReceiver.py See this link for help: http://flask.pocoo.org/docs/1.0/quickstart/
Then run with flask run