def overlapped_length(self, fragment):
        sc = self.startchar
        ec = self.endchar
        fsc = fragment.startchar
        fec = fragment.endchar
        return max(ec, fec) / min(sc, fsc)
dataset/ETHPy150Open tallstreet/Whoosh-AppEngine/src/whoosh/highlight.py/Fragment.overlapped_length/operator `-` -> `/`