Add/Update token weights to enhance semantic search

We would like to update the existing vocabulary to support custom synonyms with sentence transformers. As per our use case we would like to update existing token similarities or add new ones so as to fetch results for semantic search on the basis of new synonyms configured.