7e8056c098b515126e8f5f2f7459c59992b10cb0,grobidTagger.py,,,#,83

Before Change


    if (action != "train") and (action != "tag") and (action != "train_eval"):
        print("action not specifed, must be one of [train,train_eval,tag]")

    embed_size, embedding_vector = make_embeddings_simple("/mnt/data/wikipedia/embeddings/crawl-300d-2M.vec", True)

    if action == "train":
        train(model, embedding_vector)

After Change


    if (action != "train") and (action != "tag") and (action != "train_eval"):
        print("action not specifed, must be one of [train,train_eval,tag]")

    embedding_vector = Embeddings("fasttext-crawl").model

    if action == "train":
        train(model, embedding_vector)
    
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 7

Instances


Project Name: kermitt2/delft
Commit Name: 7e8056c098b515126e8f5f2f7459c59992b10cb0
Time: 2018-05-08
Author: patrice.lopez@science-miner.com
File Name: grobidTagger.py
Class Name:
Method Name:


Project Name: kermitt2/delft
Commit Name: 7e8056c098b515126e8f5f2f7459c59992b10cb0
Time: 2018-05-08
Author: patrice.lopez@science-miner.com
File Name: insultTagger.py
Class Name:
Method Name:


Project Name: kermitt2/delft
Commit Name: 7e8056c098b515126e8f5f2f7459c59992b10cb0
Time: 2018-05-08
Author: patrice.lopez@science-miner.com
File Name: citationClassifier.py
Class Name:
Method Name: