OpenViSTAI · Agents · Blockchain · Crypto
Menu
AI Data & Analytics

Keyphrasetransformer

Keyphrasetransformer is an open-source Python library that uses a T5-based model to extract key phrases and topics from text, returning candidate phrases through a Python interface.

Independent OpenViST project profile, based on linked sources.

Keyphrasetransformer — OpenViST project profile in AI Data & Analytics.
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Use it when a Python workflow needs candidate phrases or topics from text as an input to a later step such as indexing, review or analysis.

Who it is for

  • Developers adding phrase extraction to Python document-processing pipelines
  • Teams preparing text for indexing or review
  • Researchers and analysts exploring candidate topics in text collections

Documented uses

  • Extract candidate key phrases from a text document.
  • Generate unigram, bigram or trigram phrases without supplying n-gram settings.
  • Process long text inputs by splitting them into smaller chunks internally.
Before you choose

Requirements & limits

The repository identifies the project as open source and lists the MIT license.

  • The documented interface is a Python library, so it fits code-based workflows rather than a standalone document-management process.
  • The README describes automatic unigram, bigram or trigram extraction and internal chunking for long text.
  • The repository provides a Hugging Face Spaces demo link in addition to the package interface.

Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.

Source-based practical guide

Extract key phrases from text in Python

Use the documented library interface to pass a text document to KeyPhraseTransformer and receive extracted phrases.

Before you start

  • Python environment with pip
  • Keyphrasetransformer package

Steps

  1. Install the package with the command below.

    Documented command
    pip install keyphrasetransformer
  2. Import KeyPhraseTransformer from keyphrasetransformer and create an instance.

  3. Pass a text string to the instance's get_key_phrases method.

Expected outcome

A list of extracted candidate phrases, as shown in the README example.

Guide limitations

  • The documented example returns phrases; it does not describe a broader indexing or topic-analysis workflow.
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
16 October 2026
Original website title
Shivanandroy/KeyPhraseTransformer · Official homepage title · retained in its source language