boudinfl/pke

Is it possible to use pke with french document ?

keloemma opened this issue · 1 comments

Hello, I would like to know if it is possible to use pke with french data ?

ygorg commented

Hello,
yes it is possible, you should download the corresponding spacy model (python -m spacy download fr_core_news_sm).
And then load your document like this extractor.load_document(input='Omelette du fromage.', language='fr').