以下str是某篇文章的拼音化,如果提取出现频率最高的5组字符串(贪婪模式)。
str=‘gongchandangxuanyanbaokuoyinyanhezhengwensizhang1872nian1893nianmakesiheengesixianhouweixuanyandedewenewenyingwenbolanwenyidaliwenbanzhuanxieqipianxuyanqipianxuyanjianyaoshuomingxuanyandejibensixiangjiqizaiguojigongchanzhuyiyundongzhongdelishidiweizhimingxuanyandelilunyuanlishilishiweiwuzhuyibinggenjuwuchanjiejigemingdejingyanhejiaoxunduixuanyanzuobuchonghexiugaigongchandangxuanyanzhongwenbanfengmiangongchandangxuanyanzhongwenbanfengmianxuanyandiyizhangzichanzhehewuchanzhelunshumakesizhuyidejiejidouzhengxueshuozhuyaoshiyimakesizhuyijiejidouzhengxueshuojieshizibenzhuyibiranmiewanggongchanzhuyibiranshenglidekeguanguilüzhichuwuchanjiejidelishishimingbenzhangzhichuziyuanshishizushehuijietiyilaizhijinyiqieshehuidelishidoushijiejidouzhengdelishijiejidouzhengxueshuoshimakesizhuyixueshuodejichuyeshiguanchuanxuanyandeyitiaohongxiantongguoduijiejihejiejidouzhengdefenximakesiheengesidechujielunzichanjiejidemiewanghewuchanjiejideshenglishitongyangbukebimiandewuchanjiejibixubatuifanzichanjiejitongzhijianlizijidetongzhijinerzaiquanshijiexiaomieyiqiebaoxuejiejihebaoxuezhidujiefangquanrenleizuizhongshixiangongchanzhuyizuoweizijidelishishimingxuanyandierzhangwuchanzhehegongchandangrenshuomingwuchanjiejizhengdangdexingzhitedianmudeherenwuyijigongchandangdelilunheganglingzhuyaoshijieshiwuchanjiejiyaoshixianzijidelishishimingbixuyouwuchanjiejizhengdanglailingdaojinerchanshugongchandangdexingzhitedianherenwuchanmingwuchanjiejishixianlishishimingdegenbendaoluzhichugongchandangshiwuchanjiejidezhengdangshiwuchanjiejidexianfengduidaibiaowuchanjiejidegenbenliyibumouqiurenhesiligongchandangrendezuijinmudeshishiwuchanjiejixingchengweijiejituifanzichanjiejidetongzhiyouwuchanjiejijianlizhengquanqizuizhongfendoumubiaoshixiaomiesiyouzhizuizhongshixiangongchanzhuyiweileshixianzheyilishishimingshouxianshiduoquzhengquanjianliwuchanjiejizhuanzhengranhouliyongzijidezhengquanduishengchanziliaosiyouzhijinhangshehuizhuyigaizaozaishehuizhuyigongyouzhijianlihoujishibagongzuozhongxinzhuanyidaojingjijiansheshanglaiweixiangshehuizhuyiguoduchuangzaotiaojiansuizheshehuidechongfenfazhandangshengchanziliaosiyouzhihejiejixiaomieyihouguojiaxiaowangdaonageshihoudaitinacunzaizhejiejihejiejiduilidezichanjiejijiushehuidejiangshizheyangyigelianhetizainalimeigerendeziyoufazhanshiyiqierendeziyoufazhandetiaojianjijinrugongchanzhuyishehuixuanyandisanzhangshehuizhuyidehegongchanzhuyidewenxianpipandangshiliuhangdegezhongjiashehuizhuyifenxigezhongjiashehuizhuyiliupaichanshengdeshehuilishitiaojianzhichuqililunyaohaishehuigenyuanjiejishizhihezuizhongbeitaotaidelishibiranxingcongerhuaqingkexueshehuizhuyiheqitashehuizhuyidejiexian[5]fenwei1fandongdeshehuizhuyi2baoshoudehuozichanjiejideshehuizhuyi3pipandekongxiangdeshehuizhuyihegongchanzhuyi
xuanyandisizhanggongchandangrenduigezhongfanduidangpaidetaidulunshugongchandangrengemingdouzhengdesixiangcelue’