A fact checker developed in Python.
- should have sopex installed in your system.
- For setting up sopex visit sopex.
- Now place the two files (script.py, test.txt) in the directory inside sopex directory.
- script.py, test.py outside are just to show you what they are.
- sentences.py is just an example how to separate sentences from a paragraph.
- And you are good to go.
- $>cd sopex
- $>python script.py
- Then you'll be provided all the sentences in the doc.
- Prompt will ask for a fact which you have to enter like
"FACT"
. - You'll get provided with 3 outputs which signify 3 different things.
- similarity between
objects
. - similarity between
predicates
. - True/False state of the fact.
- Ashutosh Ranjan
- Ayush Joshi