Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Unable to run Minipar Parser

 
Ayan Biswas
Ranch Hand
Posts: 104
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am tyring to use the Minipar parser.I downloadd it from the following link.MiniparThen I extracted the files and set the environment variable"Minipath" as was directed in the readme file.But when I tried to run "pdemo.cpp"(from dev c++,Windows 7 pc) i get numerous errors as "ptree.h missing" etc.Does anybody know how to solve this?
 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24211
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, first of all, I'd be very careful using a library like that available only in binary form from a single non-commercial source; who knows what sort of trojan it might be.

But if you want to proceed, the file pdemo.cpp appears to be a demo program that shows how to use the library. The headers that it uses are all in the "include' directory. When you compile the source file, you have to put that "include" directory in the include path for the project, and you have to link in the library as well.
 
Ayan Biswas
Ranch Hand
Posts: 104
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Well, first of all, I'd be very careful using a library like that available only in binary form from a single non-commercial source; who knows what sort of trojan it might be.

But if you want to proceed, the file pdemo.cpp appears to be a demo program that shows how to use the library. The headers that it uses are all in the "include' directory. When you compile the source file, you have to put that "include" directory in the include path for the project, and you have to link in the library as well.

@Ernest Friedman-Hill I have linked the library but how yo include the header file in the path of the source file.
and how will i add the library in Ecllipse C/C++ IDE(Hellios) I tried googling it but I could not find it.
 
Ayan Biswas
Ranch Hand
Posts: 104
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
okay,I have solved the problem by using stanford parser.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic