# boudinfl/pke

Python Keyphrase Extraction module

Repository: https://github.com/boudinfl/pke
Canonical: https://ross.abutalabs.com/products/pke
Language: Python
License: GPL-3.0
License Family: copyleft
Topics: keyphrase-extraction, natural-language-processing, information-retrieval, computational-linguistics, keyword-extraction, python, keyword, keyphrase
Last push: 2023-07-12T16:18:04+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3946, "days_push": 1148, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1590, forks 297 (observed 2026-08-28T04:05:08.560916+00:00)

## What it is
pke is an open-source Python toolkit for keyphrase extraction that provides an end-to-end pipeline where each component (candidate selection, weighting, ranking) can be modified or extended. It implements many state-of-the-art unsupervised and supervised models and supports easy benchmarking on standard datasets.

## Use cases
- extract keyphrases from documents in python
- extract keywords from text automatically
- compare keyphrase extraction models on benchmarks
- build a tagging system for articles
- implement a custom keyphrase extraction model
- get top n keywords for SEO or indexing

## When to choose
- you need a standardized API to experiment with multiple keyphrase extraction algorithms
- you want to benchmark state-of-the-art keyphrase models like TopicRank or YAKE
- you need supervised keyphrase extraction models trained on SemEval-2010
- you want a pipeline where candidate selection and weighting are easily customizable

## When to avoid
- you need keyphrase generation (abstracting new phrases) rather than extraction from the text
- you need production-grade speed or heavy-duty NLP beyond keyphrases
- you cannot use GPL-3.0 licensed code in your project
- you need a maintained library with frequent updates and recent dependency support

## Facets
- artifact type: library
- maturity: maintenance
- function: nlp, search-engine, machine-learning
- domain: -
- platform: python, cross-platform
- tags: keyphrase-extraction, keyword-extraction, spacy, unsupervised-learning, supervised-models, benchmarking, natural-language-processing, information-retrieval, computational-linguistics

## Member repositories
- boudinfl/pke (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:08.560916+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:54:46.909536+00:00, confidence not recorded.
  - readme: https://github.com/boudinfl/pke (fetched 2026-08-28T04:05:08.560916+00:00, sha 3cfa66c3af64)
- Data as of 2026-08-30T08:39:29.467469+00:00.
