This is already possible using simple Bayesian filters.