User modelling for robotic companions using stochastic context-free grammars