A language-learning AI based on NuPIC