>>12939436There's the AI field of natural language processing (NLP), although that mostly concerns itself a lot with building statistical models of language.
They do have schemes of embedding words into a vector space though, such that words of "similar" meaning end up closer in that space.
Other than that there's stuff like formal grammars I guess.