pytextrank icon indicating copy to clipboard operation
pytextrank copied to clipboard

Python implementation of TextRank algorithms ("textgraphs") for phrase extraction

Results 33 pytextrank issues
Sort by recently updated
recently updated
newest added

I'm trying to use this package for the first time and followed the README: ``` !pip install pytextrank !python -m spacy download en_core_web_sm nlp = spacy.load("en_core_web_sm") nlp.add_pipe("textrank") ``` This throws...

question

https://github.com/DerwenAI/pytextrank/blob/9ab64507a26f946191504598f86021f511245cd7/pytextrank/base.py#L305 `self.focus_tokens` is initialized to an empty set but I don't see where it is parameterized? e.g. ``` nlp = spacy.load("en_core_web_sm") nlp.add_pipe("biasedtextrank") focus = "my example focus" doc = nlp(text)...

question
kg

Hi, I use this library together with spacy for the extraction of the most important words. However, when using the catalan model of spacy, the algorithm gives the following error:...

bug
help wanted
good first issue

Hello, I'm using pytextrank with texts in Portuguese. Thanks to issue #54 I'm able to use POS information to produce some basic noun chunking, instead of syntactic information from the...

question
howto
good first issue

I wanted to use pytextrank together with spacy_udpipe to get keywords from texts in other languages (see https://stackoverflow.com/questions/59824405/spacy-udpipe-with-pytextrank-to-extract-keywords-from-non-english-text) but I realized, that udpipe-spacy somehow "overrides" the original spacy's pipeline so...

help wanted
question
howto

### Intro I am getting `TypeError: can not serialize 'BaseTextRank' object` when trying to use spaCy's multiprocessing in `nlp.pipe` with a `textrank` pipeline component. Sorry if this a known/expected feature/limitation...

bug
enhancement
help wanted
good first issue

The models and algorithms in https://github.com/boudinfl/pke#implemented-models are similar to Textrank but not sped up by SpaCy, so it might be a good idea to include them in PyTextRank PS: There...

help wanted
question
good first issue

Just wanted to see what people thought about this... I've been playing about with keyphrase extraction and, as well as looking at the altair plot pyTextRank produces, found it helpful...

enhancement

Hello, I'm trying to implement your provided PositionRank and Biased TextRank algorithms for the German language with the following code. ``` import spacy spacy_model = "de_core_news_lg" spacy_nlp = spacy.load(name=spacy_model,disable=["lemmatizer"]) spacy_nlp.add_pipe(factory_name="positionrank",...

question
howto

Hi,I am trying out pytextrank for extractive summarization. I used the example code provided. but it didn't work. the error come from this code: ``` # add PyTextRank to the...

question