A Self-organizing Map for Adaptive Processing of Structured Data