Similarities Using WS4J

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: enter image description here

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?

+5
source share
1 answer

Do I have to write my own algorithm?

Yes. Check it out.

+1
source

All Articles