├── .coveragerc ├── .dockerignore ├── .gitignore ├── .travis.yml ├── AUTHORS.rst ├── CHANGES.rst ├── CODE_OF_CONDUCT.md ├── Dockerfile ├── ISSUE_TEMPLATE.md ├── LICENSE.txt ├── NOTES.md ├── PULL_REQUEST_TEMPLATE.md ├── README.md ├── docker-compose.yml ├── docs ├── ARCHI.md ├── CONTRIBUTING.md ├── Makefile ├── _static │ └── .gitignore ├── adam_arch.png ├── adam_qa_pipeline.png ├── adam_qa_research_paper.pdf ├── authors.rst ├── changes.rst ├── conf.py ├── index.rst ├── license.rst └── resources.rst ├── qas ├── __init__.py ├── about.py ├── adam.py ├── anaphora_res.py ├── candidate_ans.py ├── classifier │ ├── __init__.py │ ├── question_classifier.py │ └── question_classifier_trainer.py ├── constants.py ├── corpus │ ├── WikiQA.tsv │ ├── __init__.py │ ├── data.py │ ├── feature_trainer.csv │ ├── know_corp.txt │ ├── know_corp_raw.txt │ ├── qa_test.db │ ├── qclasses.txt │ ├── qclassification_data.txt │ ├── qclassifier_trainer.csv │ ├── question_classifier.pkl │ ├── semi_feature_trainer.csv │ ├── stop_words.txt │ └── test_question.txt ├── doc_scorer.py ├── doc_search_rank.py ├── esstore │ ├── __init__.py │ ├── es_config.py │ ├── es_connect.py │ └── es_operate.py ├── feature_extractor.py ├── fetch_wiki.py ├── model │ ├── __init__.py │ ├── es_document.py │ └── query_container.py ├── qa_init.py ├── query_const.py ├── search_source.py ├── sqlitestore │ ├── __init__.py │ └── sqlt_connect.py ├── sys_info.py └── wiki │ ├── __init__.py │ ├── wiki_fetch.py │ ├── wiki_parse.py │ ├── wiki_query.py │ └── wiki_search.py ├── requirements-test.txt ├── requirements.txt ├── setup.cfg ├── setup.py ├── tests ├── __init__.py ├── create_test_data.py ├── test_classify_question.py ├── test_construct_query.py ├── test_extract_features.py ├── test_wiki_scraper.py └── travis_install.sh └── tox.ini /.coveragerc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/5hirish/adam_qas/HEAD/.coveragerc -------------------------------------------------------------------------------- /.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/5hirish/adam_qas/HEAD/.dockerignore -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/5hirish/adam_qas/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/5hirish/adam_qas/HEAD/.travis.yml -------------------------------------------------------------------------------- /AUTHORS.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/5hirish/adam_qas/HEAD/AUTHORS.rst -------------------------------------------------------------------------------- /CHANGES.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/5hirish/adam_qas/HEAD/CHANGES.rst -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/5hirish/adam_qas/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/5hirish/adam_qas/HEAD/Dockerfile -------------------------------------------------------------------------------- /ISSUE_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/5hirish/adam_qas/HEAD/ISSUE_TEMPLATE.md -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/5hirish/adam_qas/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /NOTES.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/5hirish/adam_qas/HEAD/NOTES.md -------------------------------------------------------------------------------- /PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/5hirish/adam_qas/HEAD/PULL_REQUEST_TEMPLATE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/5hirish/adam_qas/HEAD/README.md -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/5hirish/adam_qas/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /docs/ARCHI.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/5hirish/adam_qas/HEAD/docs/ARCHI.md -------------------------------------------------------------------------------- /docs/CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/5hirish/adam_qas/HEAD/docs/CONTRIBUTING.md -------------------------------------------------------------------------------- /docs/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/5hirish/adam_qas/HEAD/docs/Makefile -------------------------------------------------------------------------------- /docs/_static/.gitignore: -------------------------------------------------------------------------------- 1 | # Empty directory 2 | -------------------------------------------------------------------------------- /docs/adam_arch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/5hirish/adam_qas/HEAD/docs/adam_arch.png -------------------------------------------------------------------------------- /docs/adam_qa_pipeline.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/5hirish/adam_qas/HEAD/docs/adam_qa_pipeline.png -------------------------------------------------------------------------------- /docs/adam_qa_research_paper.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/5hirish/adam_qas/HEAD/docs/adam_qa_research_paper.pdf -------------------------------------------------------------------------------- /docs/authors.rst: -------------------------------------------------------------------------------- 1 | .. _authors: 2 | .. include:: ../AUTHORS.rst 3 | -------------------------------------------------------------------------------- /docs/changes.rst: -------------------------------------------------------------------------------- 1 | .. _changes: 2 | .. include:: ../CHANGES.rst 3 | -------------------------------------------------------------------------------- /docs/conf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/5hirish/adam_qas/HEAD/docs/conf.py -------------------------------------------------------------------------------- /docs/index.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/5hirish/adam_qas/HEAD/docs/index.rst -------------------------------------------------------------------------------- /docs/license.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/5hirish/adam_qas/HEAD/docs/license.rst -------------------------------------------------------------------------------- /docs/resources.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/5hirish/adam_qas/HEAD/docs/resources.rst -------------------------------------------------------------------------------- /qas/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/5hirish/adam_qas/HEAD/qas/__init__.py -------------------------------------------------------------------------------- /qas/about.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/5hirish/adam_qas/HEAD/qas/about.py -------------------------------------------------------------------------------- /qas/adam.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/5hirish/adam_qas/HEAD/qas/adam.py -------------------------------------------------------------------------------- /qas/anaphora_res.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/5hirish/adam_qas/HEAD/qas/anaphora_res.py -------------------------------------------------------------------------------- /qas/candidate_ans.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/5hirish/adam_qas/HEAD/qas/candidate_ans.py -------------------------------------------------------------------------------- /qas/classifier/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /qas/classifier/question_classifier.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/5hirish/adam_qas/HEAD/qas/classifier/question_classifier.py -------------------------------------------------------------------------------- /qas/classifier/question_classifier_trainer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/5hirish/adam_qas/HEAD/qas/classifier/question_classifier_trainer.py -------------------------------------------------------------------------------- /qas/constants.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/5hirish/adam_qas/HEAD/qas/constants.py -------------------------------------------------------------------------------- /qas/corpus/WikiQA.tsv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/5hirish/adam_qas/HEAD/qas/corpus/WikiQA.tsv -------------------------------------------------------------------------------- /qas/corpus/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /qas/corpus/data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/5hirish/adam_qas/HEAD/qas/corpus/data.py -------------------------------------------------------------------------------- /qas/corpus/feature_trainer.csv: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /qas/corpus/know_corp.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/5hirish/adam_qas/HEAD/qas/corpus/know_corp.txt -------------------------------------------------------------------------------- /qas/corpus/know_corp_raw.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/5hirish/adam_qas/HEAD/qas/corpus/know_corp_raw.txt -------------------------------------------------------------------------------- /qas/corpus/qa_test.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/5hirish/adam_qas/HEAD/qas/corpus/qa_test.db -------------------------------------------------------------------------------- /qas/corpus/qclasses.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/5hirish/adam_qas/HEAD/qas/corpus/qclasses.txt -------------------------------------------------------------------------------- /qas/corpus/qclassification_data.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/5hirish/adam_qas/HEAD/qas/corpus/qclassification_data.txt -------------------------------------------------------------------------------- /qas/corpus/qclassifier_trainer.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/5hirish/adam_qas/HEAD/qas/corpus/qclassifier_trainer.csv -------------------------------------------------------------------------------- /qas/corpus/question_classifier.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/5hirish/adam_qas/HEAD/qas/corpus/question_classifier.pkl -------------------------------------------------------------------------------- /qas/corpus/semi_feature_trainer.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/5hirish/adam_qas/HEAD/qas/corpus/semi_feature_trainer.csv -------------------------------------------------------------------------------- /qas/corpus/stop_words.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/5hirish/adam_qas/HEAD/qas/corpus/stop_words.txt -------------------------------------------------------------------------------- /qas/corpus/test_question.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/5hirish/adam_qas/HEAD/qas/corpus/test_question.txt -------------------------------------------------------------------------------- /qas/doc_scorer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/5hirish/adam_qas/HEAD/qas/doc_scorer.py -------------------------------------------------------------------------------- /qas/doc_search_rank.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/5hirish/adam_qas/HEAD/qas/doc_search_rank.py -------------------------------------------------------------------------------- /qas/esstore/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /qas/esstore/es_config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/5hirish/adam_qas/HEAD/qas/esstore/es_config.py -------------------------------------------------------------------------------- /qas/esstore/es_connect.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/5hirish/adam_qas/HEAD/qas/esstore/es_connect.py -------------------------------------------------------------------------------- /qas/esstore/es_operate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/5hirish/adam_qas/HEAD/qas/esstore/es_operate.py -------------------------------------------------------------------------------- /qas/feature_extractor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/5hirish/adam_qas/HEAD/qas/feature_extractor.py -------------------------------------------------------------------------------- /qas/fetch_wiki.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/5hirish/adam_qas/HEAD/qas/fetch_wiki.py -------------------------------------------------------------------------------- /qas/model/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /qas/model/es_document.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/5hirish/adam_qas/HEAD/qas/model/es_document.py -------------------------------------------------------------------------------- /qas/model/query_container.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/5hirish/adam_qas/HEAD/qas/model/query_container.py -------------------------------------------------------------------------------- /qas/qa_init.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/5hirish/adam_qas/HEAD/qas/qa_init.py -------------------------------------------------------------------------------- /qas/query_const.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/5hirish/adam_qas/HEAD/qas/query_const.py -------------------------------------------------------------------------------- /qas/search_source.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/5hirish/adam_qas/HEAD/qas/search_source.py -------------------------------------------------------------------------------- /qas/sqlitestore/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/5hirish/adam_qas/HEAD/qas/sqlitestore/__init__.py -------------------------------------------------------------------------------- /qas/sqlitestore/sqlt_connect.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/5hirish/adam_qas/HEAD/qas/sqlitestore/sqlt_connect.py -------------------------------------------------------------------------------- /qas/sys_info.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/5hirish/adam_qas/HEAD/qas/sys_info.py -------------------------------------------------------------------------------- /qas/wiki/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /qas/wiki/wiki_fetch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/5hirish/adam_qas/HEAD/qas/wiki/wiki_fetch.py -------------------------------------------------------------------------------- /qas/wiki/wiki_parse.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/5hirish/adam_qas/HEAD/qas/wiki/wiki_parse.py -------------------------------------------------------------------------------- /qas/wiki/wiki_query.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/5hirish/adam_qas/HEAD/qas/wiki/wiki_query.py -------------------------------------------------------------------------------- /qas/wiki/wiki_search.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/5hirish/adam_qas/HEAD/qas/wiki/wiki_search.py -------------------------------------------------------------------------------- /requirements-test.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/5hirish/adam_qas/HEAD/requirements-test.txt -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/5hirish/adam_qas/HEAD/requirements.txt -------------------------------------------------------------------------------- /setup.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/5hirish/adam_qas/HEAD/setup.cfg -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/5hirish/adam_qas/HEAD/setup.py -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/create_test_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/5hirish/adam_qas/HEAD/tests/create_test_data.py -------------------------------------------------------------------------------- /tests/test_classify_question.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/5hirish/adam_qas/HEAD/tests/test_classify_question.py -------------------------------------------------------------------------------- /tests/test_construct_query.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/5hirish/adam_qas/HEAD/tests/test_construct_query.py -------------------------------------------------------------------------------- /tests/test_extract_features.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/5hirish/adam_qas/HEAD/tests/test_extract_features.py -------------------------------------------------------------------------------- /tests/test_wiki_scraper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/5hirish/adam_qas/HEAD/tests/test_wiki_scraper.py -------------------------------------------------------------------------------- /tests/travis_install.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/5hirish/adam_qas/HEAD/tests/travis_install.sh -------------------------------------------------------------------------------- /tox.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/5hirish/adam_qas/HEAD/tox.ini --------------------------------------------------------------------------------