Download the PHP package molbi/php-text-analysis without Composer
On this page you can find all versions of the php package molbi/php-text-analysis. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download molbi/php-text-analysis
More information about molbi/php-text-analysis
Files in molbi/php-text-analysis
Package php-text-analysis
Short Description PHP Text Analysis is a library for performing Information Retrieval (IR) and Natural Language Processing (NLP) tasks using the PHP language
License Apache 2
Informations about the package php-text-analysis
php-text-analysis
PHP Text Analysis is a library for performing Information Retrieval (IR) and Natural Language Processing (NLP) tasks using the PHP language. All the documentation for this project can be found in the wiki.
Installation Instructions
Add PHP Text Analysis to your project
Documentation for the library resides in the wiki. https://github.com/yooper/php-text-analysis/wiki
Dictionary Installation
Not required unless you use the dictionary stemmers
For Ubuntu < 16
For Ubuntu >= 16
For Centos
PHP Pecl Stem is not currently available in php 7.0.
Tokenize
There are several tokenizers available
- FixedLengthTokenizer
- GeneralTokenizer
- LambdaTokenizer
- PennTreeBankTokenizer
- RegexTokenizer
- SentenceTokenizer
- WhitespaceTokenizer
Tokenizer Usage
Frequency Distribution
Check out the API for full documentation https://github.com/yooper/php-text-analysis/blob/master/src/Analysis/FreqDist.php
All versions of php-text-analysis with dependencies
yooper/stop-words Version ^1.0
symfony/console Version >=2.7
camspiers/porter-stemmer Version 1.0.0
wamania/php-stemmer Version 1.1