Basic text interpolation framework