A Dialog Management Methodology based on Neural Networks and its Application to Different Domains