The phrases "PHP developer" and "backend programmer" will have similar vectors. "Cat" and "dog" are closer to each other than "cat" and "car".
Through an embedding model: OpenAI Embeddings API, Sentence Transformers, BERT, FastText. The model takes text and returns a vector (typically 768–3072 numbers).