Strip parenthetic series titles from work and edition titles

Open
#89 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Domain
data

Research direction

Start with the work and edition examples linked in the issue, including OL8434278W and OL7920389M, and determine how these title records can be identified and updated. Done means the parenthetic series title is removed from both titles in the affected cases without losing the remaining title text.

Written by the indexing model from the issue text.

Description

data cleanup

This is a very common issue. Many series titles are erroneously shown parenthetically suffixed onto both work and edition titles. In the simplest case the work title repeats the series title with additional specifics added. It should be pretty straightforward to bulk fix these most-trivial cases.

One example:
"Nevada Crime in Perspective 2003 (Nevada Crime in Perspective)"
https://openlibrary.org/works/OL8434278W/Nevada_Crime_in_Perspective_2003?b=4&a=3&_compare=Compare&m=diff
https://openlibrary.org/books/OL7920389M/Nevada_Crime_in_Perspective_2003?b=4&a=3&_compare=Compare&m=diff

Dominant language
Python
Stars
509
Forks
116
Avg merge
11d 8h
Merged PRs (30d)
4

Getting set up

  • No Dockerfile or Docker Compose file
  • Has a pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from internetarchive/openlibrary-client

All issues in internetarchive/openlibrary-client

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.