(self, record: types.Record)
Add one record to the corpus, processing it into a :class:`spacy.tokens.Doc`
        using the :attr:`Corpus.spacy_lang` pipeline.

        Args:
            record
Add one record to the corpus, processing it into a :class:`spacy.tokens.Doc`
        using the :attr:`Corpus.spacy_lang` pipeline.
Add one record to the corpus processing it into a : class : spacy . tokens . Doc using the : attr : Corpus . spacy_lang pipeline .
def add_record(self, record: types.Record) -> None:
        """
        Add one record to the corpus, processing it into a :class:`spacy.tokens.Doc`
        using the :attr:`Corpus.spacy_lang` pipeline.

        Args:
            record
        """
        doc = self.spacy_lang(record[0])
        doc._.meta = record[1]
        self._add_valid_doc(doc)
def add_record ( self , record : types . Record ) -> None : doc = self . spacy_lang ( record [ 0 ] ) doc . _ . meta = record [ 1 ] self . _add_valid_doc ( doc )