I want to use ws4j to calculate the similarity between two sentences. I am using the online demo of WS4J @ WS4J Online demo
I use the default offer examples provided by WS4J. After entering the sentence and clicking the button for calculating similarities, I get the following output: 
Here I get the similarities between the individual offer tokens.
How do I move on. I want to get one value (say, 0.5 or 0.8), which means the similarity of these 2 sentences.
Is there a standard way to go from here or do I have to write my own algorithm?
source share