IndriCollectionModel

Models p(w|C) as the number of occurrences of the term in the collection, divided by the total number of tokens + 1.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
open override val name: String?

The name of the collection model strategy.

Functions

Link copied to clipboard
open override fun computeProbability(stats: BasicStats): Double

Computes the probability p(w|C) according to the language model strategy for the current term.