Get the position of words

def word_frame_pos(self, _id):
        """
        Get the position of words
        """
        left = int(self.words[_id][0]/1000)
        right = max(left+1, int(self.words[_id][1]/1000))
        return (left, right)