You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
im use spacy and spacy_ke with zh_core_web_md to extract keyword but get some errors hop can tell me how to fix
'''
ValueError: [E002] Can't find factory for 'PositionRank' for language Chinese (zh). This usually happens when spaCy calls nlp.create_pipe with a custom component name that's not registered on the current language class. If you're using a Transformer, make sure to install 'spacy-transformers'. If you're using a custom component, make sure you've added the decorator @Language.component (for function components) or @Language.factory (for class components).
im use spacy and spacy_ke with zh_core_web_md to extract keyword but get some errors hop can tell me how to fix
'''
ValueError: [E002] Can't find factory for 'PositionRank' for language Chinese (zh). This usually happens when spaCy calls
nlp.create_pipe
with a custom component name that's not registered on the current language class. If you're using a Transformer, make sure to install 'spacy-transformers'. If you're using a custom component, make sure you've added the decorator@Language.component
(for function components) or@Language.factory
(for class components).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, spancat, textcat_multilabel, yake, textrank, positionrank, topicrank, transformer
'''
The text was updated successfully, but these errors were encountered: