Methods for streaming mode in GazetteMatching

Clean this up.