fixed indexing bugs for verb teaching and attribute learning