These methods are intended for internal use only. TopEx users should only need to import the core module in order to fully use every feature of the TopEx library.
Finds the most expressive phrase in a sentence. This function is called in a lambda expression in core.get_phrases.
Passing include_sentiment=False will weight all tokens equally, ignoring sentiment and part of speech.
Clusters the top phrase vectors and plots the silhoute coefficients for a range of dendrograph heights.
Returns the optimal height value (highest silhoute coefficient)