class_docstr: Coref Sample
class_docstr_tok: ["Coref","Sample"]
docstr: Given x and sen_map, return sens.
  Inverse to `sens2doc`.
  
  :param list x: list of str (word list)
  :param list sen_map: list of int (sen len list)
  :return list: sens as 2nd list of str (word list list)
docstr_tok: ["Given","x","and","sen_map",",","return","sens",".","Inverse","to","`","sens2doc","`",".",":","param","list","x",":","list","of","str","(","word","list",")",":","param","list","sen_map",":","list","of","int","(","sen","len","list",")",":","return","list",":","sens","as","2nd","list","of","str","(","word","list","list",")"]
code: def doc2sens(x, sen_map):
      """
      Given x and sen_map, return sens.
      Inverse to `sens2doc`.
  
      :param list x: list of str (word list)
      :param list sen_map: list of int (sen len list)
      :return list: sens as 2nd list of str (word list list)
  
      """
      curr_idx = 0
      sens = []
      for i in range(len(sen_map)):
          sen_len = sen_map[i]
          if sen_len == 0:
              continue
          sen = x[curr_idx : curr_idx + sen_len]
          sens.append(sen)
          curr_idx += sen_len
      return sens
  
imports: from ....common.settings import ORIGIN, TASK_MASK
  from ....common.utils.fp_utils import *
  from ....common.utils.shift_utils import *
  from .sample import Sample
  from ..field import ListField, TextField
label_desc: Use image node_id 13 for calling the CorefSample obj's underlying member method code with example usage: obj.doc2sens(x, sen_map) and returns: sens