Skip to contents

Read labelled documents from a JSON Lines file

Usage

cg_read_corpus(path)

Arguments

path

Path of a JSON Lines file with one labelled document per line (see cg_evaluate()).

Value

A list of documents.