Automatic thesaurus construction using non-linear term relationships