keywords_df: Extract keywords as a data frame

View source: R/keywords.R

keywords_dfR Documentation

Extract keywords as a data frame

Description

Convenience wrapper around keywords() that always returns a data frame with term and weight columns.

Usage

keywords_df(x, jiebar, ...)

Arguments

x

A character to analyze.

jiebar

A jieba_worker object created with worker(type = "keywords").

...

Must be empty. This prevents accidental unused arguments.

Value

A data frame with term and weight columns.


jiebaRS documentation built on Oct. 13, 2026, 5:07 p.m.