Plugin to Python NLTK

0
ID: 
2.8
Task leader: 
jordi.saludes
Assignees: 
jordi.saludes
Status: 
Completed

To develop a python plugin for gf (based on the planned C plugin) and connect it to relevant parts of the Natural Language Toolkit (http://www.nltk.org/)

Subtasks

2.8.1 Develop python bindings to gf.

2.8.2 nltk integration.

Comments

Contacting NLTK team

The next step is integrating this plugin into the NL Tool Kit. Today, I asked to be admitted into the nltk-dev group.

--Jordi Saludes

Python gf plugin working

Some patches have been pushed into gf/contrib to give a first taste of python-gf interoperability. You can find the required components in gf/contrib/py-bindings.

The last pushed patch is the one from July 22th by me named Code cleaning in py-bindings.

Features so far

  • Reading .pgf grammar files;

  • Getting start category, languages, etc. from pgf module;

  • Parsing and linearizing.

--Jordi Saludes