如何在没有html标记的情况下提取每个句子,然后将它们添加到列表中
比如说
without_bracket = ['Jomi Jomi, okuroro ni i soni da', 'Joosua, ajooko bi eni wogbe.' etc.]
with_bracket = ['Insisting that one's children act like one makes one a wicked person', 'Joshua, a name that sounds like an act of jumping into the bush']
<div class='post-body entry-content' id='post-body-627561819859082887' itemprop='description articleBody'>
- Jomi Jomi, okuroro ni i soni da.. (Insisting that one's children act like one makes one a wicked person).<br />
- Joosua, ajooko bi eni wogbe. (Joshua, a name that sounds like an act of jumping into the bush).<br />
- Ka gbekun yile, kii se egbe aja laelae ( The fall of a leopard does not mean he can be likened to a dog).<br />
-Kaka ko san fun alajapa, pipa lori igun n pa. (Instead of things to get better for the trader, he is turning bald like a vulture).<br />
- Kini apari wa de iso onigbajamo.( what is a bald man doing in a barber's shop?)<br />
-Ko seye to le dori kodo bi adan, afi eyi ti eje yio t'enu re jade.(Hanging upside down is the unique nature of a bat, any bird that tries to imitate this unique nature will see blood running down its mouth).<br />
-Ko si iru kaun lawujo okuta.( there is no stone like potash, it is matchless.)<br />
-Kosi ohun to kan baalu pelu pe ona moto ko dara.( The aeroplane has no business with a bad road).<br />
<div style='clear: both;'></div>
</div>
尝试类似的方法,如:
结果:
使用simplifieddoc的解决方案
结果:
相关问题 更多 >
编程相关推荐