A Framework for Unsupervised Learning of Dialogue Strategies