MCPcopy Index your code
hub / github.com/extjwnl/extjwnl

github.com/extjwnl/extjwnl @extjwnl-parent-2.0.5

Chat with this repo
repository ↗ · DeepWiki ↗ · release extjwnl-parent-2.0.5 ↗ · + Follow
1,632 symbols 7,098 edges 173 files 456 documented · 28%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Build Status

About

extJWNL (Extended Java WordNet Library) is a Java API for creating, reading and updating dictionaries in WordNet format. extJWNL supports: * writing dictionaries * encodings (including UTF-8) * Java generics * huge dictionaries * instance dictionaries * Maven support * documentation improvements * improved unit test coverage * enhanced database support * simplified configuration * multiple other improvements and fixes

Getting started

In the pom.xml:


<dependency>
    <groupId>net.sf.extjwnl</groupId>
    <artifactId>extjwnl</artifactId>
    <version>2.0.5</version>
</dependency>

<dependency>
    <groupId>net.sf.extjwnl</groupId>
    <artifactId>extjwnl-data-wn31</artifactId>
    <version>1.2</version>
</dependency>

In the code:

Dictionary d = Dictionary.getDefaultResourceInstance();

extJWNL contains Examples.java with examples of API use.

WordNet Data Dependencies

extJWNL can load WordNet data from resources on the classpath. One way to do that is to add a dependency like illustrated above. There are several dependencies available that contain data from Princeton WordNet: * extjwnl-data-wn21 WordNet 2.1 Unix version (text) * extjwnl-data-wn30 WordNet 3.0 Unix version (text) * extjwnl-data-wn31 WordNet 3.1 Unix version (text) * extjwnl-data-wn31-map WordNet 3.1 Unix version (serialized) * extjwnl-data-mcr30 Multilingual Central Repository 3.0 Unix version (text): 2016 release; currently only the Spanish portion

WordNet dependencies with text data contain original Princeton WordNet files augmented with extJWNL configuration file. Multilingual Central Repository (MCR) dependencies contain extJWNL-compatible versions of MCR files augmented with extJWNL configuration file, generated exceptional forms, and inter-language index files. Dependencies with serialized data contain Princeton WordNet files serialized into HashMaps and augmented with extJWNL configuration file.

Serialized data is larger, but might work faster for some use cases.

If you use Dictionary.getDefaultResourceInstance(), then make sure you use only one dependency.

Acknowledgements

YourKit logo

extJWNL is supported by YourKit Open Source License. YourKit, LLC is the creator of YourKit Java Profiler and YourKit .NET Profiler, innovative and intelligent tools for profiling Java and .NET applications.

Resources

Extension points exported contracts — how you extend this code

Core symbols most depended-on inside this repo

Shape

Method 1,446
Class 158
Interface 23
Enum 5

Languages

Java100%

Modules by API surface

extjwnl/src/test/java/net/sf/extjwnl/data/TestSynset.java70 symbols
extjwnl/src/main/java/net/sf/extjwnl/data/Synset.java69 symbols
extjwnl/src/test/java/net/sf/extjwnl/dictionary/DictionaryEditTester.java64 symbols
extjwnl/src/main/java/net/sf/extjwnl/dictionary/Dictionary.java61 symbols
extjwnl/src/test/java/net/sf/extjwnl/data/TestIndexWord.java48 symbols
extjwnl/src/main/java/net/sf/extjwnl/data/IndexWord.java45 symbols
extjwnl/src/main/java/net/sf/extjwnl/data/PointerUtils.java41 symbols
extjwnl/src/main/java/net/sf/extjwnl/dictionary/AbstractCachingDictionary.java39 symbols
extjwnl/src/test/java/net/sf/extjwnl/data/TestPointer.java37 symbols
extjwnl/src/test/java/net/sf/extjwnl/dictionary/DictionaryReadTester.java35 symbols
extjwnl/src/main/java/net/sf/extjwnl/princeton/file/PrincetonRandomAccessDictionaryFile.java33 symbols
extjwnl/src/main/java/net/sf/extjwnl/dictionary/FileBackedDictionary.java31 symbols

Datastores touched

(mysql)Database · 1 repos
jwnlDatabase · 1 repos

For agents

$ claude mcp add extjwnl \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page