parameters: (self)
return_statement: return np.array(indexer, dtype=np.longlong)
docstring: convert the expected labels to a list of integer indexes into the array of keywords
docstring_summary: convert the expected labels to a list of integer indexes into the array of keywords
docstring_tokens: convert the expected labels to a list of integer indexes into the array of keywords
function: def to_long_vector(self):
          """ convert the expected labels to a list of integer indexes into the array of keywords """
          indexer = [(0 if x == "<null>" else self.keywords.index(x)) for x in self.label_names]
          return np.array(indexer, dtype=np.longlong)
function_tokens: def to_long_vector ( self ) : indexer = [ ( 0 if x == "<null>" else self . keywords . index ( x ) ) for x in self . label_names ] return np . array ( indexer , dtype = np . longlong )