Skip to content

ValueError: Transformation generated invalid chunkstring #10

@Kowsalya-Mouttouramane

Description

@Kowsalya-Mouttouramane

image
test = ["Les voitures autonomes déplacent la responsabilité de l'assurance vers les constructeurs"]
vectorizer_fr = KeyphraseCountVectorizer(spacy_pipeline='fr_dep_news_trf', pos_pattern='<N.*>+', stop_words ='french')
vectorizer_fr.fit(test)

It generates a valueError : Transformation generated invalid chunkstring:
<><><><><><><><><><><><>

This works with other languages, the problem is only with the french spacy models (whatever french model).
Can anyone help me solve this error, please ?

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions