Add Custom Issuer Identifier Numbers
For the PCI grammar set, Named Entity Recognition has a list of known issuer identifier numbers (IINs) for card numbers (PANs). You can optionally expand the list of IINs with custom values by modifying the user_iins.lua script. This script is included in your installation in the grammars/pci/ folder. The script includes comments and examples to explain the usage and formats, including how to implement checksums for different IIN ranges, including checksums that are not supported by default.
You can also use a custom Lua script by setting the IDOL_PAN_USER_IIN_PATH environment variable in the post-processing script to the location of your custom script. This script must use the same formats to define IINs as the user_iins.lua script.
When you use custom IINs, Named Entity Recognition assigns the custom IINs a score of 0.5 for a nocontext entity, and a score of 0.99 for a context entity.