code: def _get_source_chunks(self, input_text, language=None):
      
      chunks = ChunkList()
      seek = 0
      result = self._get_annotations(input_text, language=language)
      tokens = result['tokens']
      language = result['language']
      for i, token in enumerate(tokens):
        word = token['text']['content']
        begin_offset = token['text']['beginOffset']
        label = token['dependencyEdge']['label']
        pos = token['partOfSpeech']['tag']
        if begin_offset > seek:
          chunks.append(Chunk.space())
          seek = begin_offset
        chunk = Chunk(word, pos, label)
        if chunk.label in _DEPENDENT_LABEL:
          # Determining concatenating direction based on syntax dependency.
          chunk.dependency = i < token['dependencyEdge']['headTokenIndex']
        if chunk.is_punct():
          chunk.dependency = chunk.is_open_punct()
        chunks.append(chunk)
        seek += len(word)
      return chunks, language
docs: Returns a chunk list retrieved from Syntax Analysis results.
  
      Args:
        input_text (str): Text to annotate.
        language (:obj:`str`, optional): Language of the text.
  
      Returns:
        A chunk list. (:obj:`budou.chunk.ChunkList`)