TODO: merge nodes with same NamedEntityTag.