Well, I've made a start on writing some python to do this: searching for imperial units and finding the preceding numerals for conversion isn't too hard. Currently I'm looking at converting numbers written as words to floating point. Once I have this working on plain text, I'll look at how to integrate this into Calibre via a plugin for epub conversion.
|