Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Part-of-speech tagger in PHP? [closed]

I am looking for a simple part-of-speech library or code that I can download. My criteria is that it must be simple to use and free is possible.

Do you know such a library ?

like image 786
Benjamin Crouzier Avatar asked Feb 21 '23 08:02

Benjamin Crouzier


1 Answers

There's an implementation of the Brill tagger in PHP: How to impliment a Part-of-Speech (POS) tagger and http://phpir.com/part-of-speech-tagging

You'll probably find more if you Google for "PHP POS tagger". I also have a rudimentary PHP wrapper for the Stanford POS tagger (which runs in Java), which I would be happy to open-source, but as it takes up to five seconds to load the model, you may want to use one of the tools linked to above if real-time processing is your goal. (You only need to load the model once per session, though.)

like image 91
Daan Avatar answered Mar 04 '23 20:03

Daan