Skip to main content

Verb∋Net

Verb∋Net is a lexicon of French verbs organised in the same way as the English VerbNet. Verbs are grouped into classes that share thematic roles (with selectional restrictions) and syntactic frames, and each frame has an example and a semantic formula.

Website: https://aymara.github.io/verbenet/. Browse the classes, look up a verb and read the format documentation.

Verb∋Net est une version française de VerbNet : 229 classes de verbes, 2 827 verbes distincts et 525 schémas syntaxiques, avec rôles thématiques, exemples et sémantique.

Getting the data

Each release is available in the following forms, which all contain the same data:

  • GitHub Releases: latest release. It includes verbenet-data-X.Y.Z.zip (XML files, schema, JSON Lines tables) and the Python package.
  • Zenodo: every release is archived with a DOI.
  • Python: pip install verbenet (or uv add verbenet):
    import verbenet
    classes = verbenet.load()               # nested dicts, one per top-level class
    frames = list(verbenet.frame_rows())    # one flat dict per frame, with inherited roles and members resolved
    verbenet.DATA_DIR                       # the raw XML files
    
  • Hugging Face: aymaralima/verbenet, load_dataset("aymaralima/verbenet", "frames") (or "members").

Contents

Path Description
verbenet/<name>-<number>.xml One file per class (VNCLASS), in VerbNet's XML format. This is the reference data.
verbenet/VERBENET.xml Aggregate that includes every class file with XInclude and carries the version number
verbenet/VERBENET.rnc RELAX NG (compact) schema for a class file or for the aggregate
src/verbenet/ Python loader, shipped with the data in the verbenet package
scripts/ Validation, website, release assets and Hugging Face publication
site/, hf/ Website sources, Hugging Face dataset card template

The current data has 229 classes, 97 subclasses, 525 frames and 4,177 verb–class pairs (2,827 distinct verbs).

# all the classes of a verb
xmllint --xinclude --xpath '//MEMBER[@name="manger"]/ancestor::*[@ID][1]/@ID' verbenet/VERBENET.xml

How it was built

Verb∋Net was built at CEA LIST and Université Paris Diderot, in the ANR ASFALDA project. The method keeps VerbNet's hierarchy and semantics, and takes the French verbs from two French lexicons: Les Verbes Français (LVF) and the Lexique-Grammaire (LG). Each VerbNet class was linked to LVF classes and LG tables, which are kept in the lvf and ladl attributes. Translations of the English members were kept only if they belong to those classes or tables. Frames were then adapted to French by hand. See the website and the paper below for details.

This revision

This version of the original release was prepared by Guy Lapalme and Marie-Claude L'Homme while studying the use of Verb∋Net for text generation. It:

  • adds VERBENET.xml, which includes all the XML files, so that XPath queries can run over the whole lexicon;
  • adds a RELAX NG schema to validate the XML files;
  • fixes typos in some examples and member verbs;
  • makes sure each MEMBER element contains exactly one verb;
  • corrects some frames and roles so that they match their examples.

Contact: Guy Lapalme

Versioning

Verb∋Net uses semantic versioning, applied to data:

Bump When Examples
MAJOR Code that reads the data may break Schema changes (elements or attributes renamed or removed, content model changed); class IDs renamed or removed; file layout changed
MINOR The inventory changes, but the format still parses the same way New classes, subclasses, frames or members; removed members or frames; new allowed values in the schema
PATCH Corrections that don't change the inventory Typos in examples, a role fixed to match its example, a wrong preposition

The version is stored in pyproject.toml, CITATION.cff and the version attribute of VERBENET.xml. Changes are listed in CHANGELOG.md.

Contributing and releasing

Requires uv.

uv run scripts/validate.py             # schema, IDs, one verb per MEMBER, aggregate, version consistency
uv run scripts/build_site.py           # website into _site/
python3 -m http.server -d _site 8000   # preview it at http://localhost:8000

When editing data, add a line under Unreleased in CHANGELOG.md. When adding or renaming a class file, update VERBENET.xml as well.

To release, on an up-to-date master with a clean working tree:

uv run scripts/validate.py
uv run bumpver update --minor     # or --patch / --major; --dry shows the diff first
git push --follow-tags

bumpver updates the version everywhere, turns the Unreleased section of the changelog into the new version, commits and tags (e.g. 1.1.0). Pushing the tag runs .github/workflows/release.yml, which validates and builds everything, then creates the GitHub Release (Zenodo archives it) and publishes to PyPI and Hugging Face. Pushing to master also redeploys the website (.github/workflows/pages.yml).

Citing

Quentin Pradet, Laurence Danlos and Gaël de Chalendar. 2014. Adapting VerbNet to French using existing resources. In Proceedings of the Ninth International Conference on Language Resources and Evaluation (LREC'14), pages 1122–1126, Reykjavik, Iceland. ELRA.

@inproceedings{pradet-etal-2014-adapting,
    title = "Adapting {V}erb{N}et to {F}rench using existing resources",
    author = {Pradet, Quentin and Danlos, Laurence and de Chalendar, Ga{\"e}l},
    booktitle = "Proceedings of the Ninth International Conference on Language Resources and Evaluation ({LREC}'14)",
    month = may,
    year = "2014",
    address = "Reykjavik, Iceland",
    publisher = "European Language Resources Association (ELRA)",
    pages = "1122--1126"
}

To cite a specific version of the data, use its Zenodo DOI (see CITATION.cff, or Cite this repository on GitHub).

License

Like the original Verb∋Net release, this version is distributed under the Creative Commons Attribution-ShareAlike 4.0 International License (see LICENSE).

Metadata

Release files for verbenet 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for verbenet 1.0.0
File Size Uploaded
verbenet-1.0.0.tar.gz 105.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for verbenet 1.0.0
File Interpreter ABI Platform
verbenet-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 320.6 kB

Release files / verbenet-1.0.0.tar.gz

Download URL verbenet-1.0.0.tar.gz
Size 105.6 kB
Tags Source
SHA-256 checksum
How to use checksums
54af09569068d176e15413383a4028d283abb4dd9d8bdaf01c52da8a8e06525c
BLAKE2b-256 checksum
How to use checksums
6c2984f267b2cadbf75ab63fe67050cddb971f01572f1c91ef3730dc74df2766
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.19 {"installer":{"name":"uv","version":"0.12.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / verbenet-1.0.0-py3-none-any.whl

Download URL verbenet-1.0.0-py3-none-any.whl
Size 215.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
59e317dc0839165a19f3b6ef7d23b30e365caa08398106202ba438eb9c23e5ec
BLAKE2b-256 checksum
How to use checksums
04fdeece1f8c60ffdf2e9647d4a0101d0a8d7263de7226a60d538d75c6490255
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.19 {"installer":{"name":"uv","version":"0.12.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page