Giter Site home page Giter Site logo

ejaz-ahmed / extjwnl Goto Github PK

View Code? Open in Web Editor NEW

This project forked from extjwnl/extjwnl

0.0 1.0 0.0 3.31 MB

extJWNL (Extended Java WordNet Library) is a Java API for creating, reading and updating dictionaries in WordNet format.

License: Other

Java 98.73% SQLPL 0.19% HTML 0.94% CSS 0.14%

extjwnl's Introduction

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:

<!-- main library dependency -->
<dependency>
    <groupId>net.sf.extjwnl</groupId>
    <artifactId>extjwnl</artifactId>
    <version>2.0.2</version>
</dependency>
<!-- Princeton WordNet 3.1 data 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:

Dependencies with text data contain original Princeton WordNet files augmented with extJWNL configuration file. 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

extjwnl's People

Contributors

autayeu avatar dayre avatar jacksullivan avatar jsichi avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.