org.carrot2.text.preprocessing.pipeline
Interface IPreprocessingPipeline

All Known Implementing Classes:
BasicPreprocessingPipeline, CompletePreprocessingPipeline

public interface IPreprocessingPipeline

A preprocessing pipeline filling in PreprocessingContext with the required data.


Method Summary
 PreprocessingContext preprocess(List<Document> documents, String query, LanguageCode language)
          Performs preprocessing on the provided list of documents, creating a new preprocessing context on the way.
 void preprocess(PreprocessingContext context)
          Performs preprocessing on the provided PreprocessingContext.
 

Method Detail

preprocess

PreprocessingContext preprocess(List<Document> documents,
                                String query,
                                LanguageCode language)
Performs preprocessing on the provided list of documents, creating a new preprocessing context on the way. Results can be obtained from the returned PreprocessingContext.


preprocess

void preprocess(PreprocessingContext context)
Performs preprocessing on the provided PreprocessingContext.



Copyright (c) Dawid Weiss, Stanislaw Osinski