fixes an issue where prediction wasn't recognising apostrophes

fixes #141