Take the 2-minute tour ×
Software Recommendations Stack Exchange is a question and answer site for people seeking specific software recommendations. It's 100% free, no registration required.

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

3 Answers 3

up vote 8 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.

share|improve this answer

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

  • free and open source (Apache 2.0 licensed)
  • written in C/C++ so it's reasonably fast, has Python and Java bindings
  • state-of-the-art accuracy for English on multiple datasets
  • multiple parsing models (news, biomedical, web) available via ModelFetcher in its Python bindings

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

Your Answer


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.