begining of paraphrase detector