Software Recommendations Stack Exchange is a question and answer site for people seeking specific software recommendations. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I need a tool-kit (preferably written in Java or Python) which parses an English sentence into a syntactic tree. Something like the Charniak parser.

share|improve this question
    
Are dependency-based parse trees OK or you just want constituency-based parse trees? – Franck Dernoncourt Jul 8 '14 at 3:43
    
constituency-based parse trees are needed – Sina Jul 8 '14 at 17:23
    
Related: stackoverflow.com/a/2703107/1118542 – dmcc Jul 11 '14 at 17:29
up vote 11 down vote accepted

You can use the Stanford Parser:

  • free and open source
  • written in Java
  • accuracy pretty close to "state-of-the-art" (whatever that means as standard benchmark datasets might not reflect your data)
  • wrappers available in a few others languages like Python and Ruby.
  • online demo

Other software packages.

enter image description here

share|improve this answer

BLLIP Parser is the current version of the Charniak-Johnson Parser:

Full disclosure: I am the maintainer of BLLIP Parser.

share|improve this answer

The Berkeley parser is an option:

  • free and open source (GPL 2.0 licensed)

  • written in Java, has Python bindings

  • state-of-the-art accuracy across many languages

  • models available for many languages (English, Bulgarian, Arabic, Chinese, French, German)

share|improve this answer

SyntaxNet:

  • implemented in TensorFlow
  • open source
  • based on http://arxiv.org/abs/1603.06042
  • provides one trained model for English
  • fast: around 600 words/second on a modern desktop
  • state-of-the-art results

http://googleresearch.blogspot.com/2016/05/announcing-syntaxnet-worlds-most.html:

At Google, we spend a lot of time thinking about how computer systems can read and understand human language in order to process it in intelligent ways. Today, we are excited to share the fruits of our research with the broader community by releasing SyntaxNet, an open-source neural network framework implemented in TensorFlow that provides a foundation for Natural Language Understanding (NLU) systems. Our release includes all the code needed to train new SyntaxNet models on your own data, as well as Parsey McParseface, an English parser that we have trained for you and that you can use to analyze English text.

From the readme:

enter image description here

share|improve this answer

The Link Grammar parser

  • GPL license

  • Bindings for java, python, perl, clisp, ocaml, autoit, node.js

  • Written in C/C++

  • Very high accuracy for English

  • Fairly complete support for Russian; some Persian; prototypes for other languages.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.