Diabetic Exchange Calculations

Options
Does anyone know the general method to calculate the exchanges (starch, fruit, vegetable, meat, milk) in various foods from nutrition information?

I can't find a calculator anywhere!