Tuning the matching function for a threshold weighting semantics in a linguistic information retrieval system