Current section
Files
Jump to
Current section
Files
lib/xberg/keyword_algorithm.ex
# This file is auto-generated by alef — DO NOT EDIT.
# alef:hash:61b2c8938c132132f6ac987a5658fed582bea2f8248dbe1d25aa618e0ec0b375
# To regenerate: alef generate
# To verify freshness: alef verify --exit-code
defmodule Xberg.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