-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Yoav Artzi
committed
Mar 21, 2013
0 parents
commit 7e556b7
Showing
456 changed files
with
45,755 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
.DS_Store | ||
*.pyc | ||
run.* | ||
|
||
bin/ | ||
dist/ | ||
build/ | ||
build.src/ | ||
|
||
|
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
[_**UW SPF 1.0**_](http://yoavartzi.com/spf) - The University of Washington Semantic Parsing Framework v1.0 | ||
|
||
**Developed and maintained by** [Yoav Artzi](http://yoavartzi.com) | ||
|
||
**Contributors:** [Luke Zettlemoyer](http://homes.cs.washington.edu/~lsz/), Tom Kwiatkowski | ||
|
||
# Documentations | ||
|
||
Coming soon … | ||
|
||
# Attribution | ||
|
||
When using UWSPF, please acknowledge it by citing: | ||
|
||
Artzi, Yoav and Zettlemoyer, Luke. "UW SPF: The University of Washington Semantic Parsing Framework." http://yoavartzi.com/spf. 2013. | ||
|
||
**Bibtex:** | ||
|
||
@article{artzi2013uwspf, | ||
title={UW SPF: The University of Washington Semantic Parsing Framework}, | ||
author={Artzi, Yoav and Zettlemoyer, Luke}, | ||
year={2013} | ||
} | ||
|
||
When using specific algorithms please cite the appropriate work: | ||
|
||
## Validation based learning, joint inference and coarse-to-fine lexical generation | ||
(Classes: JointValidationSensitivePerceptron, JointModel, IJointFeatureSet, JointTemplatedAbstractLexiconGenerator, TemplatedAbstractLexiconGenerator) | ||
|
||
[Weakly Supervised Learning of Semantic Parsers for Mapping Instructions to Actions](http://yoavartzi.com/pub/az-tacl.2013.pdf) | ||
Yoav Artzi and Luke Zettlemoyer | ||
In Transactions of the Association for Computational Linguistics (TACL), 2013. | ||
|
||
## Loss sensitive learning | ||
(Classes: LossSensitivePerceptronCKY) | ||
|
||
[Bootstrapping Semantic Parsers from Conversations](http://yoavartzi.com/pub/2011.emnlp.az.pdf) | ||
Yoav Artzi and Luke Zettlemoyer | ||
In Proceedings of the Conference on Empirical Methods in Natural Language Processing (EMNLP), 2011. | ||
|
||
## Unification-based learning | ||
(Classes: UBLStocGradient, UBLPerceptron) | ||
|
||
[Inducing Probabilistic CCG Grammars from Logical Form with Higher-order Unification](http://homes.cs.washington.edu/~lsz/papers/kzgs-emnlp2010.pdf). Tom Kwiatkowski, Luke Zettlemoyer, Sharon Goldwater, and Mark Steedman. In Proceedings of the Conference on Empirical Methods in Natural Language Processing (EMNLP), 2010. | ||
|
||
## Factored lexicons | ||
(Classes: FactoredLexicon, Lexeme, LexicalTemplate) | ||
|
||
[Lexical Generalization in CCG Grammar Induction for Semantic Parsing](http://homes.cs.washington.edu/~lsz/papers/kzgs-emnlp2011.pdf). Tom Kwiatkowski, Luke Zettlemoyer, Sharon Goldwater, and Mark Steedman. In Proceedings of the Conference on Empirical Methods in Natural Language Processing (EMNLP), 2011. | ||
|
||
## Template-driven lexical induction | ||
(Classes: FactoredGENLEXPerceptron) | ||
|
||
[Online Learning of Relaxed CCG Grammars for Parsing to Logical Form](http://homes.cs.washington.edu/~lsz/papers/zc-emnlp07.pdf). Luke S. Zettlemoyer and Michael Collins. In Proceedings of the Joint Conference on Empirical Methods in Natural Language Processing and Computational Natural Language Learning (EMNLP-CoNLL), 2007. | ||
|
||
[Learning to Map Sentences to Logical Form: Structured Classification with Probabilistic Categorial Grammars](http://homes.cs.washington.edu/~lsz/papers/zc-uai05.pdf). Luke S. Zettlemoyer and Michael Collins. In Proceedings of the Twenty First Conference on Uncertainty in Artificial Intelligence (UAI), 2005. | ||
|
||
# License | ||
|
||
UW SPF - The University of Washington Semantic Parsing Framework. Copyright (C) 2013 Yoav Artzi | ||
|
||
This program is free software; you can redistribute it and/or modify it under | ||
the terms of the GNU General Public License as published by the Free Software | ||
Foundation; either version 2 of the License, or any later version. | ||
|
||
This program is distributed in the hope that it will be useful, but WITHOUT | ||
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS | ||
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more | ||
details. | ||
|
||
You should have received a copy of the GNU General Public License along with | ||
this program; if not, write to the Free Software Foundation, Inc., 51 | ||
Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
src.tinyutils=tinyutils/src | ||
src.ccg=ccg/src | ||
src.data=data/src | ||
src.data.lexicalgen=data.lexicalgen/src | ||
src.data.lexicalgen.singlesentence=data.lexicalgen.singlesentence/src | ||
src.datasinglesentence=data.singlesentence/src | ||
src.explat=explat/src | ||
src.learn=learn/src | ||
src.learn.weakp=learn.weakp/src | ||
src.learn.ubl=learn.ubl/src | ||
src.mr.lambda=mr.lambda/src | ||
src.mr.lambda.ccg=mr.lambda.ccg/src | ||
src.mr.lambda.exec.naive=mr.lambda.exec.naive/src | ||
src.mr.lambda.exec.tabular=mr.lambda.exec.tabular/src | ||
src.parser.ccg=parser.ccg/src | ||
src.parser.ccg.cky=parser.ccg.cky/src | ||
src.parser.ccg.factoredlex=parser.ccg.factoredlex/src | ||
src.parser.ccg.features.basic=parser.ccg.features.basic/src | ||
src.parser.ccg.features.lambda=parser.ccg.features.lambda/src | ||
src.parser.ccg.genlex=parser.ccg.genlex/src | ||
src.parser.ccg.cky.genlex=parser.ccg.cky.genlex/src | ||
src.parser.ccg.rules=parser.ccg.rules/src | ||
src.parser.ccg.rules.lambda=parser.ccg.rules.lambda/src | ||
src.exec=exec/src | ||
src.test=test/src | ||
src.test.ccg.lambda=test.ccg.lambda/src | ||
src.test.exec=test.exec/src | ||
src.parser.ccg.joint=parser.ccg.joint/src | ||
src.parser.ccg.joint.genlex=parser.ccg.joint.genlex/src | ||
src.parser.ccg.joint.cky=parser.ccg.joint.cky/src | ||
src.parser.ccg.rules.coordination = parser.ccg.rules.coordination/src | ||
src.parser.ccg.rules.coordination.lambda = parser.ccg.rules.coordination.lambda/src | ||
src.learn.simple = learn.simple/src | ||
src.learn.simple.genlex = learn.simple.genlex/src | ||
mainclass=edu.uw.cs.lil.tiny.geoquery.Geo880Dev |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,94 @@ | ||
<project name="spf" default="dist" basedir="."> | ||
<description> | ||
UW SPF build file | ||
</description> | ||
<!-- set global properties for this build --> | ||
<property file="build.properties" /> | ||
<property name="version" value="1.0" /> | ||
<property name="build" location="build" /> | ||
<property name="build.src" location="build.src" /> | ||
<property name="dist" location="dist" /> | ||
<property name="lib" location="lib" /> | ||
|
||
<path id="classpath"> | ||
<fileset dir="${lib}"> | ||
<include name="**/*.jar" /> | ||
</fileset> | ||
</path> | ||
|
||
<target name="init"> | ||
<!-- Create the time stamp --> | ||
<tstamp /> | ||
<!-- Create the build directory structure used by compile --> | ||
<mkdir dir="${build}" /> | ||
<mkdir dir="${build.src}" /> | ||
<copy todir="${build.src}" > | ||
<fileset dir="${src.tinyutils}" includes="**/*.java" /> | ||
<fileset dir="${src.ccg}" includes="**/*.java" /> | ||
<fileset dir="${src.data}" includes="**/*.java" /> | ||
<fileset dir="${src.exec}" includes="**/*.java" /> | ||
<fileset dir="${src.data.lexicalgen}" includes="**/*.java" /> | ||
<fileset dir="${src.data.lexicalgen.singlesentence}" includes="**/*.java" /> | ||
<fileset dir="${src.datasinglesentence}" includes="**/*.java" /> | ||
<fileset dir="${src.explat}" includes="**/*.java" /> | ||
<fileset dir="${src.learn}" includes="**/*.java" /> | ||
<fileset dir="${src.learn.weakp}" includes="**/*.java" /> | ||
<fileset dir="${src.learn.ubl}" includes="**/*.java" /> | ||
<fileset dir="${src.learn.simple}" includes="**/*.java" /> | ||
<fileset dir="${src.learn.simple.genlex}" includes="**/*.java" /> | ||
<fileset dir="${src.mr.lambda}" includes="**/*.java" /> | ||
<fileset dir="${src.mr.lambda.ccg}" includes="**/*.java" /> | ||
<fileset dir="${src.mr.lambda.exec.naive}" includes="**/*.java" /> | ||
<fileset dir="${src.mr.lambda.exec.tabular}" includes="**/*.java" /> | ||
<fileset dir="${src.parser.ccg}" includes="**/*.java" /> | ||
<fileset dir="${src.parser.ccg.cky}" includes="**/*.java" /> | ||
<fileset dir="${src.parser.ccg.factoredlex}" includes="**/*.java" /> | ||
<fileset dir="${src.parser.ccg.features.basic}" includes="**/*.java" /> | ||
<fileset dir="${src.parser.ccg.features.lambda}" includes="**/*.java" /> | ||
<fileset dir="${src.parser.ccg.genlex}" includes="**/*.java" /> | ||
<fileset dir="${src.parser.ccg.cky.genlex}" includes="**/*.java" /> | ||
<fileset dir="${src.parser.ccg.rules}" includes="**/*.java" /> | ||
<fileset dir="${src.parser.ccg.rules.lambda}" includes="**/*.java" /> | ||
<fileset dir="${src.test}" includes="**/*.java" /> | ||
<fileset dir="${src.test.ccg.lambda}" includes="**/*.java" /> | ||
<fileset dir="${src.test.exec}" includes="**/*.java" /> | ||
<fileset dir="${src.parser.ccg.joint}" includes="**/*.java" /> | ||
<fileset dir="${src.parser.ccg.joint.genlex}" includes="**/*.java" /> | ||
<fileset dir="${src.parser.ccg.joint.cky}" includes="**/*.java" /> | ||
<fileset dir="${src.parser.ccg.rules.coordination}" includes="**/*.java" /> | ||
<fileset dir="${src.parser.ccg.rules.coordination.lambda}" includes="**/*.java" /> | ||
</copy> | ||
</target> | ||
|
||
<target name="compile" depends="init" description="compile the source "> | ||
<!-- Compile the java code from ${src} into ${build} --> | ||
<javac debug="true" srcdir="${build.src}" destdir="${build}" includeantruntime="false"> | ||
<classpath refid="classpath" /> | ||
<compilerarg value="-Xlint"/> | ||
</javac> | ||
</target> | ||
|
||
<target name="dist" depends="compile" description="generate the distribution"> | ||
<!-- Create the distribution directory --> | ||
<mkdir dir="${dist}" /> | ||
<delete file="MANIFEST.MF" /> | ||
<manifest file="MANIFEST.MF"> | ||
<attribute name="Main-Class" value="${mainclass}" /> | ||
</manifest> | ||
|
||
<jar jarfile="${dist}/${ant.project.name}-${version}.jar" manifest="MANIFEST.MF"> | ||
<fileset dir="${build}" /> | ||
<fileset dir="${build.src}" /> | ||
<zipgroupfileset dir="${lib}" includes="*.jar" /> | ||
</jar> | ||
|
||
<delete file="MANIFEST.MF" /> | ||
</target> | ||
|
||
<target name="clean" description="clean up"> | ||
<!-- Delete the ${build} and ${dist} directory trees --> | ||
<delete dir="${build}" /> | ||
<delete dir="${build.src}" /> | ||
<delete dir="${dist}" /> | ||
</target> | ||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<classpath> | ||
<classpathentry kind="src" path="src"/> | ||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> | ||
<classpathentry combineaccessrules="false" kind="src" path="/tinyutils"/> | ||
<classpathentry kind="output" path="bin"/> | ||
</classpath> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<projectDescription> | ||
<name>ccg</name> | ||
<comment></comment> | ||
<projects> | ||
</projects> | ||
<buildSpec> | ||
<buildCommand> | ||
<name>org.eclipse.jdt.core.javabuilder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
</buildSpec> | ||
<natures> | ||
<nature>org.eclipse.jdt.core.javanature</nature> | ||
</natures> | ||
</projectDescription> |
Oops, something went wrong.