Kindle2Anki - how can I get this working?

I desperately want to use Kindle2Anki: (https://github.com/NdYAG/Kindle2Anki)

to take Spanish words that I’ve looked up on my Kindle while reading, and turn them into Anki flashcards with Spanish definitions from this dictionary in particular, which I have a copy of on my Kindle: https://www.amazon.com/gp/product/B01DV0WIAU/ref=ppx_yo_dt_b_d_asin_title_o00?ie=UTF8&psc=1

I am on step 3 of this: https://github.com/NdYAG/Kindle2Anki

I have installed libmobi. I messaged the person who created Kindle2Anki asking him if he could give me more instructions on step 3, and this is what he said:

>Hi, I just saw your message. I would really love to give you a thorough guide, but it’s been a while and I can’t find any of the logs. But from what I remember, you may need to remove the drm from the azw first (with deDRM plugin of calibre), and finally get a pid of the azw file. Later you can use that pid with mobitool with the pid option. https://github.com/bfabiszewski/libmobi/tree/public/tools
9:25 AM

>or the pid is a device related serial number, https://mobileread.com/forums/showthread.php?t=95133

I have now installed and used Calibre to remove the DRM from my dictionary. I don’t know what to do next because I am a linux n00b. In fact I don’t even understand what a pid is. Can anyone help me with the next step of getting a pid of the azw file (my dictionary)?