How are you currently storing the strings?

Where would you want the result(s) of the de-duplication to go?