React higher order component (HOC) for reacting to when a component comes into view
rank text by best match of included words and phrases