script for extract phrases and compute coverage, WIP