jaws-wordnet

how to check whether word in wordNet or not

非 Y 不嫁゛ 提交于 2020-01-04 02:06:11
问题 I start to learn about wordNet and till know I found the synonymous for a specific word now I have a file and I want to tokenize this text using n-gram for example String s="I like to wear tee shirt"; after using n-gram it will be I like to wear tee shirt . . . wear tee tee shirt and so on and then I want to know if tee shirt is a biword (I can consider it as one word in the search index) so I thought to use wordNet to check whether (tee shirt) in wordNet or not if True then it is a biword

Find synonyms using JAWS in netbeans

∥☆過路亽.° 提交于 2020-01-03 04:29:06
问题 import edu.smu.tspell.wordnet.NounSynset; import edu.smu.tspell.wordnet.Synset; import edu.smu.tspell.wordnet.SynsetType; import edu.smu.tspell.wordnet.WordNetDatabase; import javax.swing.JApplet; import javax.swing.JFrame; public class JavaApplication4 { String a[]=new String[2]; public static void main(String a[]) { String ar[]={"faith"}; int j=0; while(j<2) { System.setProperty("wordnet.database.dir", "C:\\ProgramFiles(x86)\\WordNet\\2.1\\dict"); NounSynset nounSynset; NounSynset[]

JAWS import issue

谁说胖子不能爱 提交于 2019-12-12 01:31:18
问题 I am using JAWS (Java API for WordNet Searching) and have set up the wordnet dictionary with VM Arguments in eclipse. I downloaded the jaws-bin.jar file and placed it in my project directory C:\Users\My-pc\Projects\MyApp\src. After this, I ran the code successfully using: java -classpath .;C:\Users\My-pc\Projects\MyApp\bin\jaws-bin.jar -Dwordnet.database.dir=C:\WordNet-3.0\dict MyAppName Now when I import the package "edu.smu.tspell.wordnet.*", it is giving the error "The import edu cannot be

JAWS wordnet similarity

时光毁灭记忆、已成空白 提交于 2019-12-12 00:29:25
问题 I use JAWS for normal wordnet to find similarity between words. I installed wordnet 2.1 and I added the jar file : edu.mit.jwi_2.1.4.jar and edu.sussex.nlp.jws.beta.11.jar and I copier the WordNet-2.1-InfoContent in D: \ Program Files \ WordNet \ 2.1 but i have this problem when i run my application Loading modules set up: ... finding noun and verb <roots> ... calculating IC <roots> ... ... ICFinder java.io.FileNotFoundException: D:\Program Files\WordNet\2.1\WordNet-InfoContent-2.1 (Access

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

Wordnet Find Synonyms

杀马特。学长 韩版系。学妹 提交于 2019-11-29 20:42:21
I am searching for a way to find all the synonyms of a particular word using wordnet. I am using JAWS. For example: love(v): admire, adulate, be attached to, be captivated by, be crazy about, be enamored of, be enchanted by, be fascinated with, be fond of, be in love with, canonize, care for, cherish, choose, deify, delight in, dote on, esteem, exalt, fall for, fancy, glorify, go for, gone on.... love(n): Synonym : adulation, affection, allegiance, amity, amorousness, amour, appreciation, ardency, ardor, attachment, case*, cherishing, crush, delight, devotedness, devotion, emotion, enchantment

Wordnet Find Synonyms

六月ゝ 毕业季﹏ 提交于 2019-11-28 16:23:12
问题 I am searching for a way to find all the synonyms of a particular word using wordnet. I am using JAWS. For example: love(v): admire, adulate, be attached to, be captivated by, be crazy about, be enamored of, be enchanted by, be fascinated with, be fond of, be in love with, canonize, care for, cherish, choose, deify, delight in, dote on, esteem, exalt, fall for, fancy, glorify, go for, gone on.... love(n): Synonym : adulation, affection, allegiance, amity, amorousness, amour, appreciation,

Wordnet Similarity in Java: JAWS, JWNL or Java WN::Similarity?

僤鯓⒐⒋嵵緔 提交于 2019-11-27 20:53:38
I need to use Wordnet in a java-based app. I want to: search synsets find similarity/relatedness between synsets My app uses RDF graphs and I know there are SPARQL endpoints with Wordnet, but I guess it's better to have a local copy of the dataset, as it's not too big. I've found the following jars: General library - JAWS http://lyle.smu.edu/~tspell/jaws/index.html General library - JWNL http://sourceforge.net/projects/jwordnet Similarity library (Perl) - Wordnet::similarity http://wn-similarity.sourceforge.net/ Java version of Wordnet::similarity http://www.cogs.susx.ac.uk/users/drh21/ (beta)

Wordnet Similarity in Java: JAWS, JWNL or Java WN::Similarity?

别等时光非礼了梦想. 提交于 2019-11-26 20:29:02
问题 I need to use Wordnet in a java-based app. I want to: search synsets find similarity/relatedness between synsets My app uses RDF graphs and I know there are SPARQL endpoints with Wordnet, but I guess it's better to have a local copy of the dataset, as it's not too big. I've found the following jars: General library - JAWS http://lyle.smu.edu/~tspell/jaws/index.html General library - JWNL http://sourceforge.net/projects/jwordnet Similarity library (Perl) - Wordnet::similarity http://wn