Text this: Ameliorating integrated sensor drift and imperfections: an adaptive'neural'approach