Closed Deepakchawla closed 7 years ago
Look at the code for interactive.py to see how it uses the drqa.pipeline.DrQA
API. The return of process() is a dict.
So if you want to use DrQA in a project, it's probably better to import it yourself and use the functions directly (rather than parse the output of the scripts). The scripts are just to serve as an example.
Thanks Again @ajfisch for helping me and you really help me a lot in my project... Once I will accomplish my project I will show its demo
Currently, I am getting answers with use
python scripts/pipeline/interactive.py
and format is something like thatBut it is not much use for my project. So can anyone tell how to get the answers in JSON format or in one line which I can....