How to build a robot that can make up its own words

New Scientist article An English robot is already able to say “I like you” and “I don’t know you” in a language