code: def longest_target_sentence_length(sentence_aligned_corpus):
      """
      :param sentence_aligned_corpus: Parallel corpus under consideration
      :type sentence_aligned_corpus: list(AlignedSent)
      :return: Number of words in the longest target language sentence
          of ``sentence_aligned_corpus``
      """
      max_m = 0
      for aligned_sentence in sentence_aligned_corpus:
          m = len(aligned_sentence.words)
          max_m = max(m, max_m)
      return max_m
  
imports: from bisect import insort_left
  from collections import defaultdict
  from copy import deepcopy
  from math import ceil
label_desc: Use image node_id 1 for calling a global function with example usage: longest_target_sentence_length(sentence_aligned_corpus) and returns: max_m