Text this: Adaptive Shannon entropy in ferroelectric thin-film transistors for functional neuromorphic applications