Patent processing library