The situation also sends to be complex once one steps putside of Putonghua.Given that the situation there is a lack of standardization (and a lack of tables laying out variant spellings), I don't think anything other than radical, hand-tuned folding to cover all possibilities is sensible to query a "dialectal" database.
Stephan

