Download the PHP package irfanh94/word-counter-php without Composer
On this page you can find all versions of the php package irfanh94/word-counter-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package word-counter-php
About
Introducing our new PHP word-count package, a powerful tool for accurately counting the number of words in any text input. This package currently supports 3 language scripts and is highly customizable, allowing for exclusion of certain words or phrases from the count and options for case sensitivity and stemming.
Supported scripts
- Latin
- Arabic
- Cyrillic
Installation & usage with composer
Install the package:
Using WordCounter to only count:
Using WordCounter to also output list of detected words:
Benchmark for 10k words (67kb)
bench class | bench method | memory peak | average time |
---|---|---|---|
WordCounterBench | benchCounter | 1,653,792b | 15,787.200μs |
WordCounterBench | benchCounterWithWordsExport | 3,021,840b | 16,966.440μs |
All versions of word-counter-php with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.4
The package irfanh94/word-counter-php contains the following files
Loading the files please wait ....