ws4j

How to resolve the difference between the values attained in the Web API and the ones attained through the source in ws4j?

喜你入骨 提交于 2019-12-06 12:04:02
问题 I developed the following API for semantic matching for sentences using ws4j library. But im failing to get the semantic similarities. The ouptut is attached as an image which shows values which are redundant or 0. Is there any library which is missed out to be called? package ws4jv01; import edu.cmu.lti.lexical_db.ILexicalDatabase; import edu.cmu.lti.lexical_db.NictWordNet; import edu.cmu.lti.ws4j.RelatednessCalculator; import edu.cmu.lti.ws4j.impl.HirstStOnge; import edu.cmu.lti.ws4j.impl

How to resolve the difference between the values attained in the Web API and the ones attained through the source in ws4j?

喜欢而已 提交于 2019-12-04 17:49:36
I developed the following API for semantic matching for sentences using ws4j library. But im failing to get the semantic similarities. The ouptut is attached as an image which shows values which are redundant or 0. Is there any library which is missed out to be called? package ws4jv01; import edu.cmu.lti.lexical_db.ILexicalDatabase; import edu.cmu.lti.lexical_db.NictWordNet; import edu.cmu.lti.ws4j.RelatednessCalculator; import edu.cmu.lti.ws4j.impl.HirstStOnge; import edu.cmu.lti.ws4j.impl.JiangConrath; import edu.cmu.lti.ws4j.impl.LeacockChodorow; import edu.cmu.lti.ws4j.impl.Lesk; import

Sentence Similarity using WS4J

心不动则不痛 提交于 2019-12-03 13:48:53
问题 I want to use ws4j to calculate similarity between two sentence. I am using the Online Demo of WS4J @ WS4J Online demo I am using the default example sentences given by WS4J. After entering the sentence and hitting on calculate similarity button, i am getting the following output: Here i am getting the similarity between individual tokens of the sentence. How do i proceed further from here.I want to get a single value (say 0.5 or 0.8) which denotes the similarity of these 2 sentences. Is

Sentence Similarity using WS4J

不想你离开。 提交于 2019-12-03 03:46:16
I want to use ws4j to calculate similarity between two sentence. I am using the Online Demo of WS4J @ WS4J Online demo I am using the default example sentences given by WS4J. After entering the sentence and hitting on calculate similarity button, i am getting the following output: Here i am getting the similarity between individual tokens of the sentence. How do i proceed further from here.I want to get a single value (say 0.5 or 0.8) which denotes the similarity of these 2 sentences. Is there a standard way of proceeding from here or will i have to write my own algorithm? Klerisson will i