Skip to content
Discussion options

You must be logged in to vote

Try starting with the demo project here, which trains the lemmatizer separately:

https://github.com/explosion/spacy-experimental/tree/master/projects/edit_tree_lemmatizer

You would want to modify this to the right lang/treebank and also the config to use the vectors from pt_core_news_lg.

Then you can use nlp.add_pipe(source=) to add the separately trained component to pt_core_news_lg.

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by svlandeg
Comment options

You must be logged in to vote
1 reply
@adrianeboyd
Comment options

Comment options

You must be logged in to vote
1 reply
@svlandeg
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat / lemmatizer Feature: Rule-based and lookup lemmatization
3 participants