def term_frequency(self, word):
        return float(self.terms.get(word, 0)) / (self.count or 1)
Performs "comma" replacement.
dataset/ETHPy150Open clips/pattern/pattern/vector/__init__.py/Document.term_frequency--crossover with--dataset/ETHPy150Open aarongarrett/inspyred/inspyred/ec/replacers.py/comma_replacement