parameters: (vocab, items)
return_statement: return output
docstring: Converts a sequence of [tokens|ids] using the vocab.
docstring_summary: Converts a sequence of [tokens|ids] using the vocab.
docstring_tokens: Converts a sequence of [ tokens|ids ] using the vocab .
function: def convert_by_vocab(vocab, items):
    """Converts a sequence of [tokens|ids] using the vocab."""
    output = []
    for item in items:
      output.append(vocab[item])
    return output
function_tokens: def convert_by_vocab ( vocab , items ) : output = [ ] for item in items : output . append ( vocab [ item ] ) return output