Contacts category

I re-installed the OS (Win10 Pro) and Thunderbird/Lightning, but have lost all the categories used with my contacts as well as which category to which each contact is assigned. Is there a way to get them now?