2 ms·
title casing (and sentence casing) is one of these problems that is easy for humans to perform on a case by case basis, but hard to solve in an automated and ge
by frivoal 12y ago
title casing (and sentence casing) is one of these problems that is easy for humans to perform on a case by case basis, but hard to solve in an automated and generic way.
Not only is it language dependent (and any solution baked into css needs to work for all languages where it is relevant), and do various publishers have slightly differing rules about it, but it also depends on the meaning, as this example shows. Whether "Now" is part of the "Google Now" name, or works as an adverb influences the casing.
CSS has become quite a bit more complicated these days, but it is still quite far form being sentient.
TL;DR: Proper title casing is AI-complete