Coding a sentimental chatbot in Python

Incorporating 11 tutorial videos and two informative lecture videos, this learning sequence explores natural language processing, a significant application of artificial intelligence. Teachers and students are led through the coding in Python of a chatbot, a conversational program capable of responding in varied ways to user input, including with the use of smart sentiment analysis.

Additional details

Year band(s) 7-8, 9-10
Content type Lesson ideas, Course or tutorial
Format Web page
Core and overarching concepts Specification (decomposing problems), Computational thinking, Implementation (programming)
Australian Curriculum Digital Technologies code(s)
AC9TDI8P02   

Analyse and visualise data using a range of software, including spreadsheets and databases, to draw conclusions and make predictions by identifying trends

AC9TDI8P04   

Define and decompose real-world problems with design criteria and by creating user stories

AC9TDI8P07   

Design the user experience of a digital system

AC9TDI8P08   

Generate, modify, communicate and evaluate alternative designs

AC9TDI8P05   

Design algorithms involving nested control structures and represent them using flowcharts and pseudocode

AC9TDI8P06   

Trace algorithms to predict output for a given input and to identify errors

AC9TDI10P02   

Analyse and visualise data interactively using a range of software, including spreadsheets and databases, to draw conclusions and make predictions by identifying trends and outliers

AC9TDI10P04   

Define and decompose real-world problems with design criteria and by interviewing stakeholders to create user stories

AC9TDI10P07   

Design and prototype the user experience of a digital system

AC9TDI10P10   

Evaluate existing and student solutions against the design criteria, user stories, possible future impact and opportunities for enterprise

AC9TDI10P05   

Design algorithms involving logical operators and represent them as flowcharts and pseudocode

AC9TDI10P09   

Implement, modify and debug modular programs, applying selected algorithms and data structures, including in an object-oriented programming language

Technologies & Programming Language​s Artificial Intelligence
Keywords Programming, Coding, Data representation, Jason Vearing, Nathan Alison, Python, flowchart, variables, loops, Chatbot
Organisation

ESA

Copyright

Creative Commons Attribution 4.0, unless otherwise indicated.