[graphspell][py] trim useless spaces