NormalizationZ

Pareto-Zipf Normalization

Constructors

Link copied to clipboard
constructor()
constructor(z: Float)

Creates NormalizationZ with the supplied parameter z.

Properties

Link copied to clipboard
val z: Float

Functions

Link copied to clipboard
open override fun explain(stats: BasicStats, tf: Double, len: Double): Explanation

Returns an explanation for the normalized term frequency.

Link copied to clipboard
open override fun tfn(stats: BasicStats, tf: Double, len: Double): Double

Returns the normalized term frequency.

Link copied to clipboard
open override fun toString(): String

Subclasses must override this method to return the code of the normalization formula. Refer to the original paper for the list.