#160 · Primary category: NLP Tools & Text Processing

php-text-analysis

nlp php php-language php-text-analysis text-analysis tokenization

PHP Text Analysis is a library for performing Information Retrieval (IR) and Natural Language Processing (NLP) tasks using the PHP language

Project last updated:12/28/24

GitHub Stars

534

Forks

91

Contributors

17

License

MIT

Why we included this project

PHP teams that want text analysis without pulling in a heavyweight service will find a solid set of NLP primitives here, installable with a single Composer command. The functional API keeps common operations short, so tokenizing, normalizing, and counting frequencies takes a few lines, and you can swap in custom tokenizer or stemmer classes when the defaults don't fit. Beyond the basics it offers sentiment scoring, document classification, and keyword extraction via the RAKE algorithm, which makes it useful for search, content analysis, or comparing documents. The companion book and wiki are a real plus for getting oriented.

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category