children#

scikitplot.corpus.children(documents, doc_id)[source]#

Return the direct children of doc_id.

Parameters:
documentsIterable[Any]

iterable of CorpusDocument

doc_idstr

The parent’s identifier.

Returns:
list

Direct children, ordered by chunk_index where available.

Parameters:
Return type:

list[Any]