java - Sentence Similarity using WS4J -


i want use ws4j calculate similarity between 2 sentence. using online demo of ws4j @ ws4j online demo

i using default example sentences given ws4j. after entering sentence , hitting on calculate similarity button, getting following output:enter image description here

here getting similarity between individual tokens of sentence.
how proceed further here.i want single value (say 0.5 or 0.8) denotes similarity of these 2 sentences.
there standard way of proceeding here or have write own algorithm?

will have write own algorithm?

yes. check example out.


Comments

Popular posts from this blog

jquery - How do you format the date used in the popover widget title of FullCalendar? -

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -