phrase extraction notebook