pke
pke copied to clipboard
Python Keyphrase Extraction module
I am getting this error while importing pke `get_alpha_2 = lambda l: LANGUAGE_CODE_BY_NAME[l] KeyError: 'hinglish'` File "/app/model/src/analysis/AnalysisService.py", line 6, in from pke.unsupervised import TextRank, TopicRank, SingleRank File "/usr/local/lib/python3.7/site-packages/pke/__init__.py", line 5,...
German langcode ``ge`` https://github.com/boudinfl/pke/blob/master/pke/lang.py#L22 is not recognized by spacy, which leads to a missing ``stopwords`` assignment in https://github.com/boudinfl/pke/blob/master/pke/lang.py#L34-L40 . Observed with pke 2.0.0 and spacy 3.3.1.
According to #75, there used to be a `lemmatization` option for the `load_document()` method's `normalization` parameter. This doesn't seem to be the case any longer - `stemming` is applied or...
Thank you for developing a great tool. I'm facing a max_length parameter error. I installed pke by `pip install git+https://github.com/boudinfl/pke.git` - Python and Spacy version `Python 3.9.12` ``` ✔ Loaded...
Hi, I used your repository's this variant "https://github.com/boudinfl/pke.git@dc4d5f21e0ffe64c4df93c46146d29d1c522476b" in my code which is currently not available after the last commit. I face library issues in the whole code due to...
Currently, the `compute_lda_model` function makes N calls to the `LoadFile.load_document` method, one for each document in the dataset. The `load_document` method accepts an optional `spacy_model`, which is never specified by...
在lang.py添加"zh": "chinese",支持自动加载中文停用词,解决candidate_filtering的421行;stoplist为none的情况
Here are some algorithms that are used by other libraries, with reference to https://github.com/asahi417/kex and https://github.com/DerwenAI/pytextrank/issues/174 - [ ] Biased TextRank - [ ] RAKE - [ ] Aho–Corasick -...
Hi Thanks for creating this library. I am using the yake extractor for my use case. I have over 200K sentences which need to be run as a batch workload....
My team uses your yake extractor. We get pretty good results. We would like to enable stemming. However, after studying the source code the stemming implementation seems to have two...