I have this task for research purposes and searched a while for a framework or a paper which already took care of this problem.
Unfortunately I don't find anything which helps me with my problem.
I have a sentence like
if the age of the applicant is **higher** than 18, then ...
and a list of words like
higher, bigger, greater, wider ...
which are all a
Now I want to find find out, which of the given words approximately fits the best at the predefined position in the sentence.
The best fitting word in this example would be 'greater', but for example 'higher' would be also fine. In my specific case, I want to show an error message if someone would write 'wider', because this doesn't make sense in this semantic context.
I hope that I explained my problem good enough.