Defined extract-salient-wts (but doesn't work?)