This needs a lot of elaboration / clarity. I don't think a new person will understand what this encoder is for or how to use it. Including a code snippet for how to use it at the end of the doc string might be helpful.