Files
lightcraft/crates
Bruno D.andClaude Opus 5.5 339b0d72e4 catalog: a camera name with no maker field keeps descriptive model words
For a photo added before the maker was kept, the maker is the camera's
first word, and every company word after it was dropped: "ACME Computer
1000" read "Acme 1000". Company words now split into legal forms (CORP.,
CO.,LTD., AG, COMPANY...) and descriptive words (IMAGING, CAMERA,
COMPUTER...): the leading company words are dropped only when they hold
a legal form ("CASIO COMPUTER CO.,LTD." still gives Casio EX-Z1050),
otherwise only the maker said again. The first word also ends at any
whitespace, not only a space ("CANON<tab>ALPHA R5" is Canon ALPHA R5).
The test covers both cases.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-24 18:43:46 -05:00
..
2026-10-31 02:22:11 +00:00