Text this: Optimizing boundary dynamics for nested named entity recognition via semantic refinement and trimming.