A critical exploration into machine reading comprehension using Gensim and Pandas. Contains an NLP model trained using this dataset.
This FireFox add-on gathers the text on a webpage, passes each term into a pre-trained NLP model and then compares the cosine similarity between a list of pre-trained terms and the current term. The greater this value (on average, after comparison with all bias terms), the more red is added to the color of the text.
- Open and run 'app.py' (a local flask server should start on your machine)
- Open firefox
- Type 'about:debugging' in the search and press 'enter'
- Press 'Load Temporary Add-On'
- Select 'manifest.json'
- Go to any (mostly text based) webpage of your choosing and go to the puzzle icon on top right and press 'Inherent Bias'
- Press 'Show Bias'
- Wait a second, the text will be parsed on the webpage and the color will change
