Questions tagged [ws4j]

WS4J (WordNet Similarity for Java) provides a pure Java API for several published Semantic Relatedness/Similarity algorithms.

22 questions
0
votes
1 answer

Dependency of WS4J on some configuration files and WordNet (200Mb)

I am using WS4J API for calculating semantic similarity between words: ILexicalDatabase db = new NictWordNet(); RelatednessCalculator lin = new Lin(db); RelatednessCalculator wup = new WuPalmer(db); String w1 = "science"; String w2 =…
Klue
  • 1,317
  • 5
  • 22
  • 43
0
votes
0 answers

Porter stemmer gives different results when calculating semantic similarity

I am making some tests with ws4j library. In particular I want to calculate similarity between two test words "university" and "teaching". When I apply stemming, it gives me 0 similarity... When I do not apply stemming, the result is higher than…
Klue
  • 1,317
  • 5
  • 22
  • 43
0
votes
1 answer

How to go to from word similarity to overall sentence similarity

I have implemented a sentence similarity method using WS4J. I have read about sentence similarity in articles which is based on word similarity in two sentences. But I couldn't find a method which computes and returns a single value for the overall…
0
votes
1 answer

I want to find Word similarity Using WordNet

I am doing final year project on "web video categorization", in which one part is to find the similar (synonyms) words for a particular word and I want to remove similar terms from it. I know Java language, so I chosen "Word Similarity For Java"…
nawazlj
  • 779
  • 8
  • 18
0
votes
1 answer

Senserelate targetword: provide the "best" alternative for end-users

Intro to my problem: users can search for terms and RitaWordNet provides a method called getSenseIds() to get the related senses. By now I am using WS4J (WordNet Similarity for Java, http://code.google.com/p/ws4j/) that has different algorithms to…
cloms
  • 89
  • 2
  • 10
0
votes
1 answer

Docs for java ws4j library

i am writing a project on plagiarism detection with Java, in this case for the first step i need to do the following tasks : inputing file (txt, .pdf, .doc) convert the file content to text removing stop words tokenizng into n-gram processing the…
parisa
  • 784
  • 1
  • 8
  • 27
-1
votes
1 answer

Missing pom errror in maven while downloading ws4j dependency

I want to use ws4j for my project. And i can't able to connect to the internet all the time. So, most of time i download dependency to local repository using dependency:get command. Then i use it in project. like that i tried download ws4j-1.0.1.…
Logesh-0304
  • 109
  • 9
1
2