Text this: Intelligent chemical sensors