    def one(idx):
        """
        The algorithm Myers presents is 1-indexed; since Python isn't, we
        need a conversion.
        """
        return idx - 1
The algorithm Myers presents is 1-indexed; since Python isn't, we
need a conversion.
allennlp/commands/diff.py