Wrote a small script for extracting the N best B candidates, filering out B candidates that contain the query word