PHP Class Wrapper for Stanford Part of Speech Tagger
PHP Wrapper for Part of Speech Tagger
A PHP class for accessing Stanford's Java based Part of Speech Tagger
This program is written in PHP Language and allows PHP programs to easily access Stanford's Java based Part of Speech Tagger. The class also adds unique hash and indexing algorithms which can be useful for building data extraction.
Documentation1)Requires stanford postagger 3.3.1 or newer. Download @ http://nlp.stanford.edu/downloads/tagger.shtml
2)In turn the stanford postagger requires Java 1.6+ to be installed and about 60MB of memory.
See homepage for full updated documentation.
require('class_Stanford_POS_Tagger.php'); $pos = new Stanford_POS_Tagger(); print_r($pos->array_tag("The cow jumped over the moon and the dish ran away with the spoon."));
released on 4 February 2014
Leaders and contributors
Resources and communication
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the page “GNU Free Documentation License”.
The copyright and license notices on this page only apply to the text on this page. Any software or copyright-licenses or other similar notices described in this text has its own copyright notice and license, which can usually be found in the distribution or license text itself.