code: def transform(self, sentences):
      X = [self.sentence2features(s) for s in sentences]
      y = [self.sentence2labels(s) for s in sentences]
      return X, y
  
file_path: underthesea/underthesea/pipeline/ner/model_crf.py
imports: from os.path import join, dirname
  from underthesea.util.singleton import Singleton
  import pycrfsuite
  import sys
label_desc: Use image node_id 2 for calling the TaggedTransformer obj's underlying member method code with example usage: obj.transform(sentences) and returns: X,  y