Kreuzberg.KeywordAlgorithm (kreuzberg v4.8.2)

Copy Markdown View Source

Enumeration of keyword extraction algorithms.

Matches the Rust KeywordAlgorithm enum.

Values

  • :yake - YAKE keyword extraction algorithm
  • :rake - RAKE keyword extraction algorithm

Summary

Functions

Returns all valid KeywordAlgorithm values.

Types

t()

@type t() :: :yake | :rake

Functions

values()

@spec values() :: [t()]

Returns all valid KeywordAlgorithm values.

Examples

iex> Kreuzberg.KeywordAlgorithm.values()
[:yake, :rake]