as a newbie with NLTK, I was trying to parse sentence into different phrases (say, NP,VP,ADJP...) and choose the ones that I wanted for further analysis. I chose to use stat_parser, however, it was so slow. Then I found something here (Quick NLTK parse into syntax tree), which shows what I want to do. The problem is I can not install bllip-parser with all methods I can find online (macports etc.). When I tried to make files as I was told in README, it shows the following error:
In file included from best-parses.cc:50:
./popen.h:25:10: fatal error: 'ext/stdio_filebuf.h' file not found
#include <ext/stdio_filebuf.h>
^
1 error generated.
make[1]: *** [best-parses.o] Error 1
make: *** [reranker-runtime] Error 2
Can anyone help me about this error or tell me is there any other better way to do parsing using NLTK? Thanks!