bb911e5f4e1c57c6374367e9b438f854d1667b84,spacy/cli/train.py,,train,#,74

Before Change


        nlp.disable_pipes(*other_pipes)
        for pipe in pipeline:
            if pipe not in nlp.pipe_names:
                nlp.add_pipe(nlp.create_pipe(pipe))
    else:
        msg.text("Starting with blank model "{}"".format(lang))
        lang_cls = util.get_lang_class(lang)
        nlp = lang_cls()

After Change


                pipe_cfg = {"learn_tokens": learn_tokens}
            else:
                pipe_cfg = {}
            nlp.add_pipe(nlp.create_pipe(pipe, config=pipe_cfg))

    if vectors:
        msg.text("Loading vector from model "{}"".format(vectors))
        _load_vectors(nlp, vectors)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: explosion/spaCy
Commit Name: bb911e5f4e1c57c6374367e9b438f854d1667b84
Time: 2019-08-23
Author: honnibal+gh@gmail.com
File Name: spacy/cli/train.py
Class Name:
Method Name: train


Project Name: explosion/spaCy
Commit Name: bb911e5f4e1c57c6374367e9b438f854d1667b84
Time: 2019-08-23
Author: honnibal+gh@gmail.com
File Name: spacy/cli/train.py
Class Name:
Method Name: train


Project Name: stanfordnlp/stanza
Commit Name: d531bc69ec7b9e1e91e1d749827437e77f9ebd50
Time: 2020-12-04
Author: adrianeboyd@gmail.com
File Name: stanza/pipeline/external/spacy.py
Class Name: SpacyTokenizer
Method Name: __init__