string matching stage for the streamcorpus-pipeline