Design, development and implementation of A framework for contextual analysis and synthesis in human-bot communication