def preprocess_gold(self, docs_golds):
for name, proc in self.pipeline:<EOL><INDENT>if hasattr(proc, "<STR_LIT>"):<EOL><INDENT>docs_golds = proc.preprocess_gold(docs_golds)<EOL><DEDENT><DEDENT>for doc, gold in docs_golds:<EOL><INDENT>yield doc, gold<EOL><DEDENT>
Can be called before training to pre-process gold data. By default,
        it handles nonprojectivity and adds missing tags to the tag map.

        docs_golds (iterable): Tuples of `Doc` and `GoldParse` objects.
        YIELDS (tuple): Tuples of preprocessed `Doc` and `GoldParse` objects.