I have a data.md
file as follows:
## intent:greet
- hey
- hello
- hi
- good morning
- good evening
- hey there
## intent:goodbye
- bye
- goodbye
- see you around
- see you later
## intent:affirm
- yes
- indeed
- of course
- that sounds good
- correct
## intent:deny
- no
- never
- I don't think so
- don't like that
- no way
- not really
Now I want to add a new example yes, I affirm
to ## intent:affirm
so that it becomes as follows:
## intent:affirm
- yes
- indeed
- of course
- that sounds good
- correct
- yes, I affirm
How to achieve this in Python?
Currently, I have no idea on what to start with as I am new to Python, so haven't done anything concrete before seeking help here other than search online for related articles.