improving synonym matching in autocomplete query