edit_tree_lemmatizer
DEFAULT_EDIT_TREE_LEMMATIZER_MODEL
module-attribute
#
default_model_config
module-attribute
#
default_model_config = '\n[model]\n@architectures = "spacy.Tagger.v2"\n\n[model.tok2vec]\n@architectures = "spacy.HashEmbedCNN.v2"\npretrained_vectors = null\nwidth = 96\ndepth = 4\nembed_size = 2000\nwindow_size = 1\nmaxout_pieces = 3\nsubword_features = true\n'
EditTreeLemmatizer #
Bases: TrainablePipe
Lemmatizer that lemmatizes each word using a predicted edit tree.
make_edit_tree_lemmatizer #
make_edit_tree_lemmatizer(nlp, name, model, backoff, min_tree_freq, overwrite, top_k, overwrite_labels, scorer)
Construct an EditTreeLemmatizer component.