mirror of https://github.com/percyliang/sempre
Correct cprune dependency in build.xml and nn_0 file resource download
This commit is contained in:
parent
8842fdcd77
commit
bcbfdd4b57
|
|
@ -69,7 +69,7 @@
|
|||
</target>
|
||||
|
||||
<!-- Compile tables -->
|
||||
<target name="tables" depends="init,core,corenlp">
|
||||
<target name="tables" depends="init,core,corenlp,cprune">
|
||||
<echo message="Compiling ${ant.project.name}: tables"/>
|
||||
<mkdir dir="${classes}/tables"/>
|
||||
<javac srcdir="${src}" destdir="${classes}/tables" classpathref="lib.path" debug="true" includeantruntime="false" source="${source}" target="${target}">
|
||||
|
|
@ -79,7 +79,7 @@
|
|||
</target>
|
||||
|
||||
<!-- Compile cprune -->
|
||||
<target name="cprune" depends="init,core,corenlp,tables">
|
||||
<target name="cprune" depends="init,core">
|
||||
<echo message="Compiling ${ant.project.name}: cprune"/>
|
||||
<mkdir dir="${classes}/cprune"/>
|
||||
<javac srcdir="${src}" destdir="${classes}/cprune" classpathref="lib.path" debug="true" includeantruntime="false" source="${source}" target="${target}">
|
||||
|
|
|
|||
|
|
@ -256,6 +256,11 @@ addModule('tables-data-0.5', 'WikiTableQuestions dataset v0.5 (for backward repr
|
|||
system "cd lib/data && unzip WikiTableQuestions-0.5-compact.zip" or exit 1
|
||||
})
|
||||
|
||||
addModule('tables-cprune', 'Neighbor information for applying macro grammar on tables', lambda {
|
||||
pull('/u/nlp/data/semparse/cprune/nn_0.zip', 'data/nn_0', {:symlink => true})
|
||||
system "cd lib/data/nn_0 && unzip nn_0.zip" or exit 1
|
||||
})
|
||||
|
||||
addModule('overnight', 'Creating a parser for multiple domains', lambda {
|
||||
# Geo evaluation
|
||||
pull('/u/nlp/data/semparse/overnight/geo880.db', 'data/overnight/', {:symlink => true})
|
||||
|
|
|
|||
Loading…
Reference in New Issue