kgdata.wikipedia.datasets.html_articles#

Functions

deser_html_articles(line)

html_articles()

Extract HTML page

ser_html_articles(article)

html_articles() Dataset[HTMLArticle][source]#

Extract HTML page

Returns:

Dataset[HTMLArticle]

Return type:

Dataset[HTMLArticle]

deser_html_articles(line: Union[str, bytes]) HTMLArticle[source]#
Parameters:

line (Union[str, bytes]) –

Return type:

HTMLArticle

ser_html_articles(article: HTMLArticle) bytes[source]#
Parameters:

article (HTMLArticle) –

Return type:

bytes