View Single Post
Old 10-31-2019, 10:43 PM   #544
DaltonST
Deviser
DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.
 
DaltonST's Avatar
 
Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
JS Quality Fixes: Future Enhancements

Quote:
If there is a space before the words "The", "And", "Of", and "To" I don't want them to be title cased
Yes, and the advanced title-casing logic in my Q&S add-on/plug-in does that (and much more) based on English grammar rules, since Q&S is designed specifically for English (only). However, JS does only a simple title-casing like standard Calibre does since the English grammar rules often break non-English titles, which is unacceptable. What I will do is copy the Q&S logic to JS, and then add an option to use either it or the standard (simple) title-casing.


Quote:
Books with "&" in the title or series have been getting the symbol deleted.
Remember that the #orig_title column has each book's original title before changing. It exists so you can easily see before then after fixing. I put the #orig_authors and #orig_title columns next to the real columns. When I move the fixed and clean books from my WorkBench Library to my pristine Library, those custom columns are excluded automatically by another JS tool's customization option to do so.

I will add an #orig_series column capability too. I have never needed it.

The "&" symbol in a matching pattern is likely deleted by one of the regular expressions defined in JS Customization. I used over 500 test books with trashed-out metadata of all types to build those rules, plus hundreds of "clean" books to refine the rules. Nevertheless, sometimes a book gets "overcleaned", which is why I have the #orig_authors and #orig_title automatically populated if you define them per JS Customization so that they can easily be copied over the "overcleaned" values.



DaltonST
DaltonST is offline   Reply With Quote