phpSyllable icon indicating copy to clipboard operation
phpSyllable copied to clipboard

PHP Syllable splitter/counter and Hyphenator for text and HTML. Multi-language, customisable, cached and fast!

Results 17 phpSyllable issues
Sort by recently updated
recently updated
newest added
trafficstars

I would like to discuss and track changes to the project in this ticket regarding an update to the internals and adding the possibility for more interchangeable Components like PSR-6...

When only partial HTML should be hyphenated (instead of full documents), DOCTYPE and html/body tags are automatically added. This can be avoided by passing the `LIBXML_HTML_NOIMPLIED` and `LIBXML_HTML_NODEFDTD` flags to...

When the configured cache directory does not exist PHP will throw an error. I guess because `file_put_contents` relies on the file path to exist. Sure it's not a big deal...

Processing large texts is incredibly slow for me. Calling `hyphenateHtml` takes 25 seconds and more. Is this reasonable for text with roughly 3100 characters? If so, any idea how I...

I believe this to be an issue, or at least something that should be looked into. phpSyllable-master/src/Cache/File.php on line 53: `file_put_contents($file, $this->encode(self::$data));` file_put_contents requires an absolute path. Instead, what it...

I tried to add methods to define the following settings: - left_min_hyphen - right_min_hyphen I added functions similar to "setMinWordLength" in "Syllable.php" like so: ``` public function setLeftMinLength($length = 3)...

I'm trying very simple words in spanish and I get lots of errors. For example: ma-r-tes (should be mar-tes) re-s-tar (should be res-tar) di-cie-m-bre (should be di-ciem-bre) Is this a...