Commit Graph

22 Commits (d74075b724a786539aa867ec9f456043d5070fd9)

Author SHA1 Message Date
Matthew Butterick d74075b724 improve handling of intercapped words
Intercapped (aka camelCase) words are treated like a list of subwords joined by hyphens, but only if the pieces meet the usual min-length threshold. But don’t use this splitting technique when unhyphenating.
2 years ago
Matthew Butterick 32cca4c6ab add #:min-hyphens option 5 years ago
Matthew Butterick a33546ab16 add Russian patterns 6 years ago
Matthew Butterick b41dc3b021 tiny refac 6 years ago
Matthew Butterick 0b8ca8201a improve handling of words with interCaps 6 years ago
Matthew Butterick 5de6888d42 add persistent pattern caches 7 years ago
Matthew Butterick c9e8bd1cb9 improve comments 8 years ago
Matthew Butterick 55f4cbfa57 restructure caching scheme 8 years ago
Matthew Butterick 33fc788683 restrict #:exception arguments to that call 8 years ago
Matthew Butterick 25f7b73abd shorten cache key 8 years ago
Matthew Butterick bb00063f54 avoid a list operation 8 years ago
Matthew Butterick 635a8fa41e remove unneeded require 8 years ago
Matthew Butterick b2bdb03061 simplify another loop 8 years ago
Matthew Butterick 509116fdda simplify a loop 8 years ago
Matthew Butterick 5342b89c48 avoid a hash lookup 8 years ago
Matthew Butterick d443aa276c get rid of exceptions cache; fix dumb caching error 8 years ago
Matthew Butterick 95fc9019d7 correct comment 8 years ago
Matthew Butterick 923920128d even more minor refactorings 8 years ago
Matthew Butterick 0776dd1ecc minor refactorings 8 years ago
Matthew Butterick 30dc57bf1b minor simplifications 8 years ago
Matthew Butterick 3c7a58445b simplify `string->hashpair` 8 years ago
Matthew Butterick 026df65410 simplify 8 years ago