Learning to select pseudo labels: a semi-supervised method for named entity recognition