NLTK-PHP is a PHP port of the popular Natural Language Toolkit (NLTK) library for Python. This library is ideal for developers who want to integrate natural language processing capabilities into their PHP-based projects.
Even, the library using nltk_data for building corpus.
For now. you can check the tests to understand how you can use the library.