Questions tagged [jwnl]

For questions related to Java WordNet Library

JWNL is a Java API for accessing the WordNet relational dictionary. WordNet is widely used for developing NLP applications, and a Java API such as JWNL will allow developers to more easily use Java for building NLP applications.

6 questions
1
vote
0 answers

WordNet / jwnl - iterating through all nouns

is it possible to iterate through all the nouns or verbs inside the WordNet dictionary using JWNL and - e.g. - print them out? I want to create a big list with all nouns, but didn't find anything about iterating the dictionary using JWNL. Thanks Max
0
votes
0 answers

How to get noun categories list using JWNL

How to get list of nouns according to categories i.e noun.animal (list),noun.plant(list) using JWNL. Example code would be helpful. Update I have attached sample code which I think gives me list of noun from noun.animal Lexicographer File. But nouns…
Wando
  • 131
  • 1
  • 6
0
votes
1 answer

Use "throws" keyword on callback

In my method below, I use a method in the net.sf.extJWNL package in the callback of the .anyMatch() method of Stream. However, the method I am using throws a JWNLException. Instead of the current try-catch block, I would like to use the…
Marvin
  • 853
  • 2
  • 14
  • 38
0
votes
1 answer

How do I set up extJWNL in a Java project?

I am trying to determine whether a set of strings, from an English sentence, are all words from the WordNet dictionary. I put the JARs in a folder in my project in eclipse. I've downloaded the binary release of extJWNL and put the JARs in a folder…
Marvin
  • 853
  • 2
  • 14
  • 38
0
votes
1 answer

Spell checking for base word

Trying to check spelling whether it is correct or misspelled using WordNet. Here's the implementation SpellChecker.java done by me so far... package com.domain.wordnet; import java.io.FileInputStream; import java.io.InputStream; import…
User
  • 4,023
  • 4
  • 37
  • 63
0
votes
1 answer

jwnl unable to install database

I am trying to build a bespoke dictionary. I am testing with jwnl. I get the following error: net.didion.jwnl.JWNLException: Unable to install net.didion.jwnl.dictionary.FileBackedDictionary My xml file -
Trevor Oakley
  • 438
  • 5
  • 17