add get_sents_by_pat and get_docscore