What are alternatives for query string to implement slope between phrases?

Is this related to What are the best ways to find near phrases? How to combine them to find near to nearest near? ))?