[2212.06636] Categorical Tools for Natural Language Processing