ValueError: [E002] Can't find factory for 'relation_extractor' for language English (en) #7378
-
I've come across the issue: Available factories: attribute_ruler, tok2vec, merge_noun_chunks, merge_entities, merge_subtokens, token_splitter, parser, beam_parser, entity_linker, ner, beam_ner, entity_ruler, lemmatizer, tagger, morphologizer, senter, sentencizer, textcat, textcat_multilabel, en.lemmatizer I am referring the link for realtion extractor: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 12 replies
-
Hi! Can you provide a little more background as to which command exactly you're running? Are you running the example project as is, or are you trying to integrate the code in a custom code base? |
Beta Was this translation helpful? Give feedback.
Ah, that makes sense. The code that is loading the model also needs to know about the new, custom factories that you used, so you'll have to import the relevant functions: