Text this: Markov chain analysis to detect water quality level