📜 Release of LexFCS 1.0 Specification

I’m happy and proud to announce that the German Text+ consortium has now released the 1.0 version of the LexFCS specification. This version marks the first stable release after ~ 5 years of development and testing, with lots of user feedback and discussions. Previous versions have been presented in various formats at different events over the years.

LexFCS 1.0 is now ready for implementation and we are excited to see many new lexical resources added to the FCS. Various CLARIN Java libraries used for SRU and FCS have already been updated, the reference implementation for LexFCS endpoints, the endpoint validator, and the integration in the CLARIN Content Search will follow shortly.

What is the LexFCS?

The Federated Content Search for Lexical Resources (LexFCS) specification is an extension of the CLARIN Federated Content Search (CLARIN-FCS) - Core 2 specification that allows search and retrieval of lexical resources including dictionaries, encyclopedias, normative data, terminological databases, ontologies etc. The LexFCS specification adds the following to the FCS:

  • a new query language, LexCQL, based on the Contextual Query Language (CQL) to allow querying lexical resources,
  • a new Lexical Data View to better represent lexical results,
  • extends the CLARIN-FCS specification with mechanisms to describe LexFCS resources, queryable fields and other functionality.

Lexical resources differ from corpora in the FCS in that they are structured differently and therefore require different approaches to querying and result presentation.

Currently, LexFCS supports the following fields: lemma (mandatory, default search field); entryId, phonetic, transcription, translation; definition, etymology; baseform, case, degree, frequency, gender, grammar, mood, number, pos, segmentation, sentiment, tense; antonym, holonym, hypernym, hyponym, meronym, synonym, related; ref, senseRef; citation. They can be used with LexCQL to search through records with the addition of lang (entry language) and any (search on any lexical field). Search terms can be matched in a tokenized (=) or untokenized (==, <>) manner, or use entity references (is). Complex queries can be constructed with boolean AND and OR and parentheses. More details and various examples are provided in the specification.

See LexFCS in action

LexFCS was proposed and developed in Text+ / Germany. There are already a few FCS endpoints implementing LexFCS and offering lexical resources. The majority of resources is still in German (for now).

Integration of version 1.0 in the CLARIN Content Search will follow shortly.

Future Plans

A number of exciting features are already in the pipeline, including support for and integration of multimedia content. These and other ideas will be optional and stay compatible with any major version.

Resources about LexFCS

1 Like

Hello everyone,

Following the release of LexFCS 1.0, we would like to share our experience with deploying a LexFCS endpoint for Słowosieć / plWordNet, the Polish lexical semantic network, at CLARIN-PL.

The endpoint is publicly accessible at:

https://kontext.clarin-pl.eu/api/v2/fcs/lex/endpoint/sru

You can try it directly with a query for the Polish lemma “kot”.

Our implementation builds on the SAW Leipzig / Text+ LexFCS reference endpoint, adapted for Słowosieć. It uses Java 21, Jetty 12.1.14, the CLARIN fcs-simple-endpoint library 2.1.1 and fcs-ql 3.0.0, with Apache Solr 9.9.0 as the search backend. The services run in Docker containers managed through Docker Compose.

The endpoint accepts LexCQL queries and returns SRU XML responses with lexical data and hit views. Supported fields include lemma, entryId, pos, definition, synonym, antonym, hypernym, hyponym, holonym, meronym and senseRef.

For example:

lemma == "kot"
lemma == "kot" AND pos is NOUN
lemma = "kot*"

Each indexed record represents one lexical sense, keeping the lemma, definition and semantic relations associated with that sense. This preserves distinctions between different meanings of the same word.

The current deployment uses a corrected WN-LMF XML export of Słowosieć 5.0, supplied as:

plwordnet-5.0-wn-lmf-1.4.1-2026-10-28.xml.gz

This snapshot contains:

  • 196,528 lexical entries
  • 297,734 senses
  • 231,449 synsets
  • 152,923 non-empty definitions

A custom Python importer reads the export, resolves references between senses and synsets, and builds the Solr index. Definitions are taken from the associated synsets, synonyms are derived from shared synset membership, and supported semantic relations are mapped to LexFCS fields. Synset identifiers and available ILI references are exposed through senseRef.

We retain the limitations of the source export: relations labelled other are not assigned a more specific meaning, and usage examples are not automatically treated as bibliographic citations. The import process uses the supplied snapshot and does not modify or query the live WordnetLoom database.

The service is hosted alongside KonText, using the same public domain and reverse proxy. It has its own endpoint and index, while the existing corpus FCS service continues to search the Manatee corpus indexes. This allows lexical and corpus search to share the hosting infrastructure while retaining independent data updates.

For the update deployed on 28 October 2026, we built a new index alongside the previous one, tested it, and then switched the public route. Verification covered source-reference integrity, record counts, searching, pagination, diagnostic responses and XML schema validation of the returned lexical and hit views. We also compared selected records against the source export to confirm that the corrected definitions and relations were present.

The endpoint is available for testing; integration into the central CLARIN discovery and aggregation infrastructure remains a separate step. We would welcome feedback on interoperability with LexFCS clients and aggregators, particularly on the representation of WordNet senses and semantic relations.

Many thanks to the LexFCS specification authors and the SAW Leipzig / Text+ team for providing the specification, libraries and reference implementation.

1 Like