nimare.studyset.TextBlock

class TextBlock(text: list, rows: ndarray, field: str)[source]

Bases: object

Documents, with the document index already integral.

Methods

counts(vectorizer)

(documents x terms) sparse counts and the vocabulary.

Properties

text

rows

field

counts(vectorizer)[source]

(documents x terms) sparse counts and the vocabulary.