Grammarly has secured a $1 billion commitment from General Catalyst.