Files
fil/packages/elixir/lib/kreuzberg/keyword_algorithm.ex

22 lines
683 B
Elixir
Raw Normal View History

2026-06-01 23:40:55 +02:00
# This file is auto-generated by alef — DO NOT EDIT.
# alef:hash:4e15143f4af1ae8bafbdb1506ef057da924484c66a19483966333558ad437e75
# To regenerate: alef generate
# To verify freshness: alef verify --exit-code
# Issues & docs: https://github.com/kreuzberg-dev/alef
defmodule Kreuzberg.KeywordAlgorithm do
@moduledoc "Keyword algorithm selection."
@typedoc "Keyword algorithm selection."
@type t :: :yake | :rake
@yake :yake
@rake :rake
@doc "YAKE (Yet Another Keyword Extractor) - statistical approach"
@spec yake() :: t()
def yake, do: @yake
@doc "RAKE (Rapid Automatic Keyword Extraction) - co-occurrence based"
@spec rake() :: t()
def rake, do: @rake
end