Span-based Named Entity Recognition by Generating and Compressing Information