3 ms·
> If they are actual words, then that hyphen should not count. That would have side-effects e.g. https://en.wikipedia.org/wiki/Double-barrelled_name https://en
by Someone1234 12y ago
> If they are actual words, then that hyphen should not count.
That would have side-effects e.g. https://en.wikipedia.org/wiki/Double-barrelled_name https://en.wikipedia.org/wiki/Double-barrelled_name
- tragic 12y agoNot to mention fantasy/SF love of invented languages. I'd hate to be HP Lovecraft if this becomes common. Or have to quote transliterated Arabic, for that matter.
- chavesn 12y agoOf course there will be exceptions, and it wouldn't need to be perfect. It just needs to be better than counting hyphens alone, which the suggestion above inarguably is.
- joesmo 12y agoWell then they shouldn't do it at all or rethink their algorithm altogether.
- potatolicious 12y agoOr do the sane thing most other people do: back up an imperfect but effective algorithm with competent human review.
- deleted 12y ago[deleted]
- undersuit 12y agoNames are proper nouns and therefore capitalized, the edge case is resolved until you find a proper noun with capitalization in the middle of the word with the hyphen coming before the capital letter. This seems to be limited to foreign words(German in particular) and Company Names where the author inserted a hyphen. https://en.wikipedia.org/wiki/CamelCase#Current_usage_in_natural_languages https://en.wikipedia.org/wiki/CamelCase#Current_usage_in_nat...