PHP work with Perl Module

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
keenlearner
Forum Commoner
Posts: 50
Joined: Sun Dec 03, 2006 7:19 am

PHP work with Perl Module

Post by keenlearner »

Hello, I am doing Natural Language Research for a particular NLP program. I found that there are a lot of ready Perl Module (API library) related to NLP, escpecially those from CPAN. Compare to PHP, there was none or little library related on NLP. Also my web host server does support CPAN Module, which I can install any Perl Module in CPAN I want. I have been programming PHP for a year. I have never used Perl before, I am thinking to start to learn Perl. But my main NLP application will still be in PHP, because I would like take advantage of my prior PHP knowledge.

As NLP is a big task,basically it's divided into,

- Part of speech tagging
- parsing
- semantic analysis
- word sense disambiguation
- theorem proving

The above task can work independently, many of those are already available in Perl Model in CPAN. Problem is how can I make the Perl module to work with PHP ? I was thinking, for the process such as part of speech tagging, the generated output by related Perl Module is copied into text file, then it's read by PHP code to do necessary task. But is there a better way ? Please give me any other advices. Thank you so much.

PS. Please share your wisdom with me, I will love to receive it with open hand.
developerpk
Forum Newbie
Posts: 1
Joined: Tue Feb 07, 2012 5:30 am

Re: PHP work with Perl Module

Post by developerpk »

hey i m also looking for nlp work specially wsd in php
have u finalized it in php
Post Reply