This topic contains 1 reply, has 2 voices, and was last updated by  Federico Pascual 2 years, 1 month ago.

Help with a custom pipeline

  • Hi.. I need some help with a pipeline that takes HTML and converts to Text and then gets keywords from the text… can you please help?

    I have tried doing this with a pipeline but epic failure is adamantly upon me.


    Hi Niraj,

    It seems that you are getting two problems with your pipeline:

    1. The item_list of the second extractor should be the state[‘texts’] (that is, the email you are classifying instead of “item[0]”
    2. The HTML to text extractor returns an array of paragraphs, so the keyword extractor is getting an array as the input and that is why is returning an error.

    In order to solve this problem, you should join all of the paragraphs returned into one single emailtext as shown in the “transform” part of the Pipelines documentation. Then, that unique text will be the input of the keyword extractor.

    Hope this helps!


Reply To: Help with a custom pipeline

Your information: