Skip to content

Do not capitalize small words occurring within hyphenated word groups#63

Merged
ppannuto merged 1 commit into
ppannuto:mainfrom
igorburago:hyph-small-words
Jun 15, 2020
Merged

Do not capitalize small words occurring within hyphenated word groups#63
ppannuto merged 1 commit into
ppannuto:mainfrom
igorburago:hyph-small-words

Conversation

@igorburago
Copy link
Copy Markdown
Contributor

Fixes #62.

@coveralls
Copy link
Copy Markdown

coveralls commented Jun 15, 2020

Coverage Status

Coverage remained the same at 81.218% when pulling de3b29b on iburago:hyph-small-words into c2651ee on ppannuto:main.

Make sure that, when separate words of a hyphenated compound
word are processed recursively, the ‘small_first_last’ parameter in
the corresponding recursive calls is set to False (regardless of
its value in the encompassing call), so that small words within
hyphenated groups are not capitalized (like in ‘End-to-End’ or
‘Work-in-Progress’).
@ppannuto
Copy link
Copy Markdown
Owner

Makes sense to me, thanks!

@ppannuto ppannuto merged commit 871f13f into ppannuto:main Jun 15, 2020
@igorburago igorburago deleted the hyph-small-words branch June 15, 2020 18:02
ppannuto added a commit that referenced this pull request Jan 22, 2021
Major (interface) changes (#60) -- big thanks @iburago!!:
 - Read from an abbreviations file only when invoked from command line
 - Rename and refactor the create_wordlist_filter() function

Minor changes:
 - #63: Do not capitalize small words occurring within hyphenated word groups (thanks @iburago!)
 - #65: Always capitalize 'Mc'-prefixed small words in compound word groups (thanks @iburago!)
 - #67: Don't capitalize Mr, Ms, Mrs (thanks @GurraB!)
 - #71: Add Manifest.in and include license file in src dist (thanks @synapticarbors!)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Small words are erroneously capitalized within hyphenated compound words

3 participants