parameters: (self, sents)
return_statement: return [[[self.char2id.get(c, self.char_unk) for c in ("{" + w + "}")] for w in s] for s in sents]
docstring: Convert list of sentences of words into list of list of list of character indices.
          @param sents (list[list[str]]): sentence(s) in words
          @return word_ids (list[list[list[int]]]): sentence(s) in indices
docstring_summary: Convert list of sentences of words into list of list of list of character indices.
docstring_tokens: Convert list of sentences of words into list of list of list of character indices .
function: def words2charindices(self, sents):
          """ Convert list of sentences of words into list of list of list of character indices.
          @param sents (list[list[str]]): sentence(s) in words
          @return word_ids (list[list[list[int]]]): sentence(s) in indices
          """
          return [[[self.char2id.get(c, self.char_unk) for c in ("{" + w + "}")] for w in s] for s in sents]
function_tokens: def words2charindices ( self , sents ) : return [ [ [ self . char2id . get ( c , self . char_unk ) for c in ( "{" + w + "}" ) ] for w in s ] for s in sents ]