added option to use paraphrase table if it exists