Skip to content

bgshin/irqa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

irqa

IR based question answering

Setup

Virtual env setup

  • The first time
virtualenv irqa
source irqa/bin/activate
pip install cython
wget https://github.com/kivy/pyjnius/archive/master.zip
unzip master.zip
cd pyjnius-master
python setup.py install
cd ..
rm -rf pyjnius-master
  • Later on
source irqa/bin/activate

Dataset

  • place documents.json and questions.json in {project_root}/data

Usage

  • Lucene
# index
python pyluceneIndex.py
#query
python pyluceneQuery.py
  • Whoosh(deprecated)
# index
python bindex.py [datapath] [indexpath]
# index:example
python bindex.py /home/jack/text  /home/jack/indexdir

Jar file

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages