def gain_ratio(self, word):
        if self.model is not None:
            return self.model.gr(word)
        return 0.0
Returns the information gain ratio for the given word (0.0-1.0).
dataset/ETHPy150Open clips/pattern/pattern/vector/__init__.py/Document.gain_ratio