[Weights] The new algorithm now works properly for cases such as 'paris texas'.