def METHOD_NAME(self, field, meta):
    text_block = meta['text']
    text_index = meta['text_index']
    end_index = meta['end_index']
    if len(self.text_meta[text_index]) > 1:
        near_end_index = 10000
        for field in self.text_meta[text_index]:
            field_start_index = self.field_meta[field]['start_index']
            if (field_start_index > end_index) and\
                    (field_start_index < near_end_index):
                near_end_index = field_start_index
        text_block = text_block[:near_end_index]
    text = text_block[end_index:].strip()
    return text