Code repo for Conditional Focused Neural Question Answering with Large-scale Knowledge Bases
- Refer to Virtuoso.md to install and confiture the software
- Make sure torch7 is installed together with the following dependencies
- logroll:
luarocks install logroll
- nngraph:
luarocks install nngraph
- logroll:
- After the installation and configuration of Virtuoso, run
bash data_preprocess.sh
to finish preprocessing
-
Focused Lableing
cd FocusedLabeling th train_crf.lua
-
Entity Type Vector
cd EntityTypeVec th train_ent_typevec.lua
-
RNN based Relation Network
cd RelationRNN th train_rel_rnn.lua