Current section
Files
Jump to
Current section
Files
lib/xberg/reduction_level.ex
# This file is auto-generated by alef — DO NOT EDIT.
# alef:hash:27b14662489dbd72bffe76d749cce63acd51fb05b9d0eea856452c7d4c92c223
# To regenerate: alef generate
# To verify freshness: alef verify --exit-code
defmodule Xberg.ReductionLevel do
@moduledoc "Intensity level for the token-reduction pipeline."
@typedoc "Intensity level for the token-reduction pipeline."
@type t :: :off | :light | :moderate | :aggressive | :maximum
@off :off
@light :light
@moderate :moderate
@aggressive :aggressive
@maximum :maximum
@doc "No reduction applied; text is returned as-is."
@spec off() :: t()
def off, do: @off
@doc "Remove only the most common stopwords."
@spec light() :: t()
def light, do: @light
@doc "Balanced stopword removal and redundancy filtering."
@spec moderate() :: t()
def moderate, do: @moderate
@doc "Aggressive filtering; may remove less common content words."
@spec aggressive() :: t()
def aggressive, do: @aggressive
@doc "Maximum compression; prioritizes brevity over completeness."
@spec maximum() :: t()
def maximum, do: @maximum
end