Add string method learning and dict learning