percyliang / sempre

Semantic Parser with Execution
Other
830 stars 299 forks source link

Question SEMPRE vs SPF #36

Closed silentrob closed 9 years ago

silentrob commented 9 years ago

Can anyone explain the differences semantic or high level goals between SEMPRE and SPF[1]

They both seem to use a CCG and Lambda calculus to convert natural language to a logical form. I know SPF has a ML layer for getting to the solution while hiding some of the parsing internals.

Perhaps they projects target sets of use-cases and I simply overlooked it.

[1] https://bitbucket.org/yoavartzi/spf

yonatansito commented 9 years ago

At a very high-level both are semantic parsers that are developed by different research groups, so there is some substantial overlap. I don't know how to exactly compare the two, I guess we focus on training parsers from denotations rather than logical forms, but I recommend going through our tutorial to get a better sense of what's available.

On Wed, Mar 11, 2015 at 10:56 AM, Rob Ellis notifications@github.com wrote:

Can anyone explain the differences semantic or high level goals between SEMPRE and SPF[1]

They both seem to use a CCG and Lambda calculus to convert natural language to a logical form. I know SPF has a ML layer for getting to the solution while hiding some of the parsing internals.

Perhaps they projects target sets of use-cases and I simply overlooked it.

[1] https://bitbucket.org/yoavartzi/spf

— Reply to this email directly or view it on GitHub https://github.com/percyliang/sempre/issues/36.

percyliang commented 9 years ago

Things on which SPF excels:

SEMPRE has the following that SPF lacks:

There are also other differences ranging from software engineering decisions to semantic parsing modeling decisions, which are probably too technical to go into.

Finally, SEMPRE is under active development and is the foundation of several semantic parsing projects at Stanford, so expect it to improve and become more featureful over the next few years.

silentrob commented 9 years ago

Great answer - thank you! Big plus one for the Documentation, Tutorial and REPL.

evbo commented 2 months ago

@percyliang any thoughts you can share on comparison of sempre vs ccg2lambda?