v2025.6.2
All Bundles

BayesEntry

Naive Bayes entry of term with counts

Operations

GetCount

Get the entry count

method : public : GetCount() ~ Int

Return

TypeDescription
Intentry count

GetName

Get the entry name

method : public : GetName() ~ String

Return

TypeDescription
Stringentry name

New

Constructor

New(name:String, count:Int)

Parameters

NameTypeDescription
nameStringentry name
countIntcount of occurrences

SetCount

Set the entry count

method : public : SetCount(count:Int) ~ Nil

Parameters

NameTypeDescription
countIntentry count