Text this: Energy Efficient Event Detection Using Probabilistic Inference in Wireless Sensor Networks.