examples/legacy/seq2seq/utils.py/AbstractSeq2SeqDataset/tgt_lens
class AbstractSeq2SeqDataset:    def tgt_lens(self):
        """Length in characters of target documents"""
        return self.get_char_lens(self.tgt_file)