You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some of the synonym capitalizations for "alternative" & "included" titles may be incorrect.
Breakdown
Context: In working on #128, #126 , and #125, I also noticed a problem with how synonym capitalization is being done for the Alternative Title(s); symbol(s) and Included Title(s); symbols we are getting from mimTitles.txt
It uses .clean(), which uses various rules to determine the appropriate capitalization of "alternative titles" and "included titles". It takes a second, optional param: abbrev above. I believe that the important part here is that it is trying to look for symbols that are also contained within titles, and make sure that those are capitalized.
The potential issue I see is that the abbrev being used are the one(s) from Preferred Title; symbol only. It does not consider the "alternative symbols" or "included symbols". I think this is a bug, and that we also want to capitalize these too.
Suggestion
I believe that all of the symbols from all of the titles (preferred, alternative, included) should be passed into .clean() so that if any of those symbols appear within the text of any of those labels, they will be capitalized. I believe that this was the original intention.
The text was updated successfully, but these errors were encountered:
joeflack4
changed the title
Some alt & included titles capitalizations may be incorrect
Some alt & included titles synonym capitalizations may be incorrect
Sep 5, 2024
joeflack4
changed the title
Some alt & included titles synonym capitalizations may be incorrect
Capitalization: "alt title synonyms" & "included annotation prop" - some may be incorrect
Sep 5, 2024
twhetzel
changed the title
Capitalization: "alt title synonyms" & "included annotation prop" - some may be incorrect
Capitalization of detected symbols in "Alternative title(s)" and "Included title(s)" may be incorrect
Sep 5, 2024
Overview
Some of the synonym capitalizations for "alternative" & "included" titles may be incorrect.
Breakdown
Context: In working on #128, #126 , and #125, I also noticed a problem with how synonym capitalization is being done for the
Alternative Title(s); symbol(s)
andIncluded Title(s); symbols
we are getting frommimTitles.txt
We have this block of code:
It uses
.clean()
, which uses various rules to determine the appropriate capitalization of "alternative titles" and "included titles". It takes a second, optional param:abbrev
above. I believe that the important part here is that it is trying to look for symbols that are also contained within titles, and make sure that those are capitalized.The potential issue I see is that the
abbrev
being used are the one(s) fromPreferred Title; symbol
only. It does not consider the "alternative symbols" or "included symbols". I think this is a bug, and that we also want to capitalize these too.Suggestion
I believe that all of the symbols from all of the titles (preferred, alternative, included) should be passed into
.clean()
so that if any of those symbols appear within the text of any of those labels, they will be capitalized. I believe that this was the original intention.The text was updated successfully, but these errors were encountered: