php-text-analysis icon indicating copy to clipboard operation
php-text-analysis copied to clipboard

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

Results 8 php-text-analysis issues
Sort by recently updated
recently updated
newest added
trafficstars

I am trying out your awesome library and I found notices & warnings on lines `216, 217, 219` of `php-text-analysis/src/corpus/WordnetCorpus.php` it happens when you call stem() with MorphStemmer class with...

Hi, very appreciate for your work before. just want to ask, is it can handle for Multinomial Naive Bayes Classification? Thanks

I'm seeing this aspect of the package as being rather weak. Specifically, I'd like to be able to parse nouns/noun phrases and have a better categorization of them, similar to...

jerk

Type hint the functions the functions arguments.

enhancement
help wanted

Add an implementation of the TextRank algorithm.

enhancement

https://github.com/yooper/php-text-analysis/blob/9b96d252f334f8ee35e067a0c7a40c24dc87a01d/src/Analysis/FreqDist.php#L119-L124 Perhaps there is a mistake. `array_walk`: _If the optional third parameter is supplied, it will be passed as the third parameter to the callback funcname._ So, `$weightPerToken` inside callback...

Hi, many thanks for this amazing script! I tested your "`PHP Rapid Automatic Keyword Extraction`" example (shown here https://github.com/yooper/php-text-analysis/wiki/PHP-Rapid-Automatic-Keyword-Extraction) and noticed that there are issues with special chars like the...

Leading quotation mark '„' is missing in `QuotesFilter` class construct param `$search` at ... https://github.com/yooper/php-text-analysis/blob/9b96d252f334f8ee35e067a0c7a40c24dc87a01d/src/Filters/QuotesFilter.php#L32 Instead of ... array $search = ["\'",'\"','`','“','”','’'] use ... array $search = ["\'",'\"','`','“','”','’','„']