code: def lookup_indices_1d(self, values: List[str]) -> List[int]:
      result: List[int] = []
      for value in values:
          result.append(self.idx.get(value, self.unk_idx))
      return result
  
file_path: pytext/pytext/torchscript/vocab.py
imports: from typing import Dict, List, Optional
  import torch
  import torch.nn
  from pytext.common.constants import SpecialTokens
label_desc: Use image node_id 4 for calling the ScriptVocabulary obj's underlying member method code with example usage: obj.lookup_indices_1d(values) and returns: result