Forums
Hi there,
I would like to lemmatize in PHP. I have found what looks like a PHP API in https://github.com/TALP-UPC/FreeLing/blob/master/APIs/php/analyzer.php
I have downloaded and included analyzer.php in my PHP script but I don't see how I can run the analyzer. Could you please provide an example?
Thanks in advance.
Cheers, Manuel
look in the same folder
In the same folder, https://github.com/TALP-UPC/FreeLing/tree/master/APIs/php
there are a "sample1.php" and "sample2.php" programs that create the analyzer and use it.
However, note that this is not an actual API, just a workaround that relies on executing freeling in server mode, and may not be reliable for a production environment.