Binary

class matchup.structure.weighting.tf.Binary(**kwargs)

Bases: matchup.structure.weighting.tf.TF

Methods Summary

calculate(keyword, occurrence, …) Model to calculate TF based in binary values (0,1)

Methods Documentation

calculate(keyword: str, occurrence, document_maximum_frequency, persist: bool = True)
Model to calculate TF based in binary values (0,1)
Returns:float tf