DLP Dictionary algorithm

Hi,

I would like to know how can we create functions for DLP dictionary like for those that are already pre-defined like Singapore NRIC, Credit Card Numbers etc.

Thanks.

Regards,
Matthews Loke