aherbert commented on issue #103: TEXT-126: Adding Sorensen-Dice similarity algoritham URL: https://github.com/apache/commons-text/pull/103#issuecomment-470532750 I've had more of a think and have mocked an implementation for a generic `IntersectionSimilarity`. See [TEXT-155](https://issues.apache.org/jira/projects/TEXT/issues/TEXT-155) and the code in the linked PR. This class can be used to compute the Sorensen-Dice similarity for bigrams or any other type of structure that you would like to analyse from the `CharSequence`, e.g. characters, bigrams, trigrams, n-grams, words, etc. Note: Sorensen-Dice similarity is the same as the F1-score
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
