scikit

GoldCorpus
class
v2.0 This feature is new and was introduced in spaCy v2.0
An annotated corpus, using the JSON file format.

This class manages annotations for tagging, dependency parsing and NER.

GoldCorpus.__init__
method

Create a GoldCorpus.

NameTypeDescription
train_pathunicode or PathFile or directory of training data.
dev_pathunicode or PathFile or directory of development data.