Pipeline modules allow you to combine different MonkeyLearn’s modules. For example, you can create a pipeline that given a text:
- First, does language detection.
- Second, if the language is English, then does sentiment analysis in English,
- Third, if the language is not English, then does something else.
With pipelines, you can declare the different processing steps that are made to the text (enrichments) and the necessary logic to combine the partial results and transformations.
The advantage of using a pipeline is that you can do many processings (by calling multiple MonkeyLearn’s modules) with just one HTTP request. All the processing and logic is handled by MonkeyLearn’s engine. You avoid having to go back and forth with the data with multiple HTTP requests.
Take a look at Pipelines Quick Start to start creating your own pipelines!