MCPcopy Index your code
hub / github.com/dkpro/dkpro-jwktl

github.com/dkpro/dkpro-jwktl @dkpro-jwktl-1.1.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release dkpro-jwktl-1.1.0 ↗ · + Follow
1,751 symbols 5,928 edges 231 files 912 documented · 52% updated 3y ago★ 6121 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

JWKTL

Build Status

Summary

JWKTL (Java-based Wiktionary Library) is an application programming interface for the free multilingual online dictionary Wiktionary (http://www.wiktionary.org). Wiktionary is collaboratively constructed by volunteers and continually growing. JWKTL enables efficient and structured access to the information encoded in the English and the German Wiktionary language editions, including sense definitions, part of speech tags, etymology, example sentences, translations, semantic relations, and many other lexical information types. The API was first described in an LREC 2008 paper.

Further information and documentation is available from the project homepage: * http://dkpro.org/dkpro-jwktl/ * http://www.ukp.tu-darmstadt.de/software/jwktl/

License

JWKTL is available as open source software under the Apache License 2.0 (ASL). The software thus comes "as is" without any warranty (see license text for more details). JWKTL makes use of Berkeley DB Java Edition 5.0.73 (Sleepycat License), Apache Ant 1.7.1 (ASL), JUnit 4.12 (CPL), Wikokit (New BSD license).

Publications

A more detailed description of Wiktionary and JWKTL is available in our scientific articles:

  • Christian M. Meyer and Iryna Gurevych: Wiktionary: A new rival for expert-built lexicons? Exploring the possibilities of collaborative lexicography, Chapter 13 in S. Granger & M. Paquot (Eds.): Electronic Lexicography, pp. 259–291, Oxford: Oxford University Press, November 2012. http://ukcatalogue.oup.com/product/9780199654864.do
  • Christian M. Meyer and Iryna Gurevych: OntoWiktionary – Constructing an Ontology from the Collaborative Online Dictionary Wiktionary, chapter 6 in M. T. Pazienza and A. Stellato (Eds.): Semi-Automatic Ontology Development: Processes and Resources, pp. 131–161, Hershey, PA: IGI Global, February 2012. https://www.ukp.tu-darmstadt.de/data/lexical-resources/wiktionary/ontowiktionary/
  • Torsten Zesch, Christof Müller, and Iryna Gurevych: Extracting Lexical Semantic Knowledge from Wikipedia and Wiktionary, in: Proceedings of the 6th International Conference on Language Resources and Evaluation (LREC), pp. 1646–1652, May 2008. Marrakech, Morocco. http://lrec-conf.org/proceedings/lrec2008/summaries/420.html

Please cite a JWKTL-related article if you use the software in your scientific work.

Project Background

Prior to being available as open source software, JWKTL has been a research project at the Ubiquitous Knowledge Processing (UKP) Lab of the Technische Universität Darmstadt, Germany. The following people have mainly contributed to this project (in alphabetical order):

  • Jan Berkel
  • Yevgen Chebotar
  • Iryna Gurevych
  • Christian M. Meyer
  • Christof Müller
  • Lizhen Qu
  • Torsten Zesch

This product includes software from third-parties. See the respective license agreements in the lib subdirectory for details.

Extension points exported contracts — how you extend this code

IWiktionaryEntryParser (Interface)
A parser for separating an article page's text into individual Wiktionary word entries. @author Christian M. Meyer [30 …
src/main/java/de/tudarmstadt/ukp/jwktl/parser/IWiktionaryEntryParser.java
IntegrationTest (Interface)
(no doc)
src/test/java/de/tudarmstadt/ukp/jwktl/IntegrationTest.java
IWiktionaryPageParser (Interface)
Generic interface for parsing XML dumps in a MediaWiki format. @author Christian M. Meyer [7 implementers]
src/main/java/de/tudarmstadt/ukp/jwktl/parser/IWiktionaryPageParser.java
IBlockHandler (Interface)
A handler encapsulated the extraction of the information items encoded in a certain article constituent. There might be, [8 …
src/main/java/de/tudarmstadt/ukp/jwktl/parser/util/IBlockHandler.java
IWiktionarySenseFilter (Interface)
Interface for implementing a filter for IWiktionarySenses. That is, a possibility for selecting which senses are [5 implementers]
src/main/java/de/tudarmstadt/ukp/jwktl/api/filter/IWiktionarySenseFilter.java
IWiktionaryEntryFilter (Interface)
Interface for implementing a filter for IWiktionaryEntrys. That is, a possibility for selecting which entries ar [5 implementers]
src/main/java/de/tudarmstadt/ukp/jwktl/api/filter/IWiktionaryEntryFilter.java

Core symbols most depended-on inside this repo

next
called by 724
src/main/java/de/tudarmstadt/ukp/jwktl/api/util/WiktionaryIterator.java
addNonUnique
called by 480
src/main/java/de/tudarmstadt/ukp/jwktl/parser/ru/wikokit/base/wikipedia/language/LanguageType.java
addNonUniqueName
called by 370
src/main/java/de/tudarmstadt/ukp/jwktl/parser/ru/wikokit/base/wikipedia/language/LanguageType.java
hasNext
called by 253
src/main/java/de/tudarmstadt/ukp/jwktl/api/util/WiktionaryIterator.java
iterator
called by 223
src/main/java/de/tudarmstadt/ukp/jwktl/parser/en/components/WordList.java
addNonUniqueCode
called by 187
src/main/java/de/tudarmstadt/ukp/jwktl/parser/ru/wikokit/base/wikipedia/language/LanguageType.java
getEntry
called by 178
src/main/java/de/tudarmstadt/ukp/jwktl/api/IWiktionaryPage.java
parse
called by 147
src/main/java/de/tudarmstadt/ukp/jwktl/parser/IWiktionaryDumpParser.java

Shape

Method 1,499
Class 208
Interface 29
Enum 15

Languages

Java100%

Modules by API surface

src/main/java/de/tudarmstadt/ukp/jwktl/api/entry/WiktionaryEntry.java46 symbols
src/test/java/de/tudarmstadt/ukp/jwktl/parser/WiktionaryDumpParserTest.java32 symbols
src/main/java/de/tudarmstadt/ukp/jwktl/api/entry/WiktionaryPage.java30 symbols
src/main/java/de/tudarmstadt/ukp/jwktl/api/entry/BerkeleyDBWiktionaryEdition.java29 symbols
src/main/java/de/tudarmstadt/ukp/jwktl/api/IWiktionaryEntry.java29 symbols
src/test/java/de/tudarmstadt/ukp/jwktl/parser/WiktionaryDumpParserIntegrationTest.java27 symbols
src/main/java/de/tudarmstadt/ukp/jwktl/parser/ru/wikokit/base/wikipedia/util/StringUtil.java27 symbols
src/main/java/de/tudarmstadt/ukp/jwktl/parser/WiktionaryDumpParser.java25 symbols
src/main/java/de/tudarmstadt/ukp/jwktl/api/entry/WiktionarySense.java24 symbols
src/test/java/de/tudarmstadt/ukp/jwktl/parser/en/components/ENSemanticRelationHandlerTest.java23 symbols
src/main/java/de/tudarmstadt/ukp/jwktl/parser/ru/wikokit/base/wikipedia/language/LanguageType.java23 symbols
src/test/java/de/tudarmstadt/ukp/jwktl/parser/en/components/ENTranslationHandlerTest.java22 symbols

For agents

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

⬇ download graph artifact

Ask about this repo answers extend the page