HTML Tags
Supported from ^0.1.54
Manfaatkan fungsi ini untuk menghapus Tag HTML dari Tweet.
Cara Pakai
from frasa.preprocess import tweet text = tweet('🕵️ Frasa is <b>Awesome</b>. <i>For sure!</i>') text.html().remove()
// Before🕵️ Frasa is <b>Awesome</b>. <i>For sure!</i> // After🕵️ Frasa is Awesome. For sure!
Get HTML Tags List
text.html() # Output['<b>', '</b>', '<i>', '</i>']
Count
text.html().count() # Output4
Get a Single HTML Tags
text.html()[0] # Output'<b>'