Data Distribution for PHP Text Analysis
PHP Text Analysis (PTA) is a superset of NLTK data. If you need a text mining library written in PHP checkout php-text-analysis (PTA)
Build the index
php tools/build_index.php
Add New Data Sources
If you want to add new data sources select or create a new directory under the packages directory. If the data is local create a zip file and place it in the same directory as your package xml file.
More info about PHP Text Analysis can found here
For instructions please see https://github.com/yooper/php-text-analysis/wiki