class_docstr: Create a pipeline instance based on the elements you would want from your text
  
  >>> pipe = Pipeline(['Raw', ('NWords',), ('CleanText',)])
  >>> sorted(pipe('Test sentence <a=>').items())
  [('CleanText', 'Test sentence'), ('NWords', 2), ('Raw', 'Test sentence <a=>')]
class_docstr_tok: ["Create","a","pipeline","instance","based","on","the","elements","you","would","want","from","your","text",">",">",">","pipe","=","Pipeline","(","[","'Raw","'",",","(","'NWords","'",",",")",",","(","'CleanText","'",",",")","]",")",">",">",">","sorted","(","pipe","(","'Test","sentence","<","a=",">","'",")",".items","(",")",")","[","(","'CleanText","'",",","'Test","sentence","'",")",",","(","'NWords","'",",","2",")",",","(","'Raw","'",",","'Test","sentence","<","a=",">","'",")","]"]
docstr: Apply the pipeline to raw text. A dictionary containing the requested elements as keys
  and their content is returned
  
  Args:
  raw: incoming, unedited text
docstr_tok: ["Apply","the","pipeline","to","raw","text",".","A","dictionary","containing","the","requested","elements","as","keys","and","their","content","is","returned","Args",":","raw",":","incoming",",","unedited","text"]
code: def __call__(self, raw):
      """
      Apply the pipeline to raw text. A dictionary containing the requested elements as keys
      and their content is returned
  
      Args:
      raw: incoming, unedited text
      """
      doc = Doc(
          raw,
          language=self.language,
          hint_language=self.hint_language,
          spacy_nlps=self._spacy_nlps,
          gensim_vectors=self._gensim_vectors,
      )
  
      data = {}
  
      for oper, settings in self.steps:
          target_operation = self._operations[oper]
          data[oper] = target_operation(
              doc, context=data, settings=settings
          )
  
      return data
  
file_path: textpipe/textpipe/pipeline.py
imports: import json
  import spacy
  from textpipe.doc import Doc
  import textpipe.operation
label_desc: Use image node_id 2 for calling the Pipeline obj's underlying member method code with example usage: obj.__call__(raw) and returns: data