alerque / decasify

A CLI utility, Rust crate, Lua Rock, Python module, and JavaScript module to cast strings to title-case according to locale specific style guides including Turkish support.
GNU Lesser General Public License v3.0
5 stars 0 forks source link

Test against other packages, e.g. python-titlecase #19

Open alerque opened 1 month ago

alerque commented 1 month ago

Among alternative implementations in other languages there are some test suites with nice collections of hard cases. At least for English. I haven't run across any for Turkish, but it would be nice to compare our output for certain style guides with other libraries.

Here is one for English / Gruber style: https://github.com/ppannuto/python-titlecase/blob/main/titlecase/tests.py

alerque commented 1 month ago

Or perhaps upstream these test cases to the crate where the style is actually implemented.