WorldconVotingSystems / WorldconVotingSystems/nomnom
Automatically move articles to the beginnings of titles?
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 17
- Forks
- 15
- Avg merge
- 11m
- Merged PRs (30d)
- 1
Description
Could NomNom detect the case where a title ends with “, The” or “, A” or “, An” and automatically move the article to the start of the title?
I wouldn’t have expected that nominators would enter titles as “Lord of the Rings, The”, but in an article in Uncanny, Nicholas wrote: “And, folks, if you think you are being helpful by inputting “Lord of the Rings, The” and “Hobbit, The,” you’re really not.”
But in the Lady Business recommendations spreadsheet (https://bit.ly/hugoaward2025), it simplifies sorting if they can put the articles at the ends of titles. So in the past, they’ve put articles at the ends. But it sounds like some people may be copying and pasting titles from the Lady Business spreadsheet into the nomination form, so Lady Business has switched to articles-at-starts even though that makes their sheets less usable.
So if NomNom could automatically move those articles to the start, then Lady Business could go back to articles-at-ends, and Hugo administrators wouldn’t have to deal with the misplaced articles.
(I know there are possible issues—what about articles in non-English languages? What if a story really is titled “End of the World, The”? But I strongly suspect that moving articles to the starts of titles would be the right thing to do for well over 99% of cases where “, The” or “, A” or “, An” appear at the ends of titles.)
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the nomination form's title handling and review how submitted titles are validated or stored. Define the expected behavior for titles ending in “, The”, “, A”, or “, An”, and verify that the normalization works without changing other titles; the issue does not name a file or test to run.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- web-dev
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100