Skip to main content

Labeled Russian Context for WSD

Contexts sampled from RuTenTen and RNC. Sense definitions from Active Dictionary. Some words have two annotators. Number of contexts is 100 for most words and 500 for 7 words.

Annotators (words):

  • Анастасия Лопухина (47)

  • Константин Лопухин (11)

  • Александра Удальцова (2)

  • Анастасия К. (2)

  • Анна Кот (2)

  • Анна Татаренко (2)

  • Борис Иомдин (2)

  • Иван Самойленко (1)

Contexts are stored in rl_wsd_labeled/:

rl_wsd_labeled
├── adjectives
│   └── RuTenTen
├── nouns
│   ├── RNC
│   └── RuTenTen
└── verbs
    └── RuTenTen

A python interface is provided. Intall the package first:

pip install rl_wsd_labeled

and then in order to get labeled contexts:

>>> import rl_wsd_labeled
>>> f = rl_wsd_labeled.contexts_filename('nouns', 'RuTenTen', 'горшок')
>>> rl_wsd_labeled.get_contexts(f)

({'1': 'Округлый глиняный сосуд для приготовления пищи (печной горшок)',
  '2': 'Расширяющийся кверху сосуд с отверстием в дне (цветочный горшок)',
  '3': 'Ночной горшок'},
 [(('телевизор, - ковер, , - музыкальный центр, - стол, - аквариум, - 3 шкафа, - цветы в',
    ' горшках',
    ', - мелкие аксессуары.'),
  '2'),
  ...
  (('ибо настанет срок и оно будет разрушено течением времени либо войною, будто старый',
    ' горшок',
    ' с вином в трюме торгового корабля, попавшего в бурю и разбившегося о скалы.'),
  '1')
 ])

Apart from senses, there are two special annotations: “0” means “I don’t know/the context is unclear/the contexts is invalid”, and “max sense + 1” mean “other sense, not listed among given senses”. Contexts marked as “0” or “other” are not returned, unless with_skipped=True is passed. If there was more then one annotator, contexts where annotators did not agree are also not included. There is a function rl_wsd_labeled.get_agreement that returns the ratio of senses where where both annotators gave either the same concrete sense, or both skipped the senses (so “0” and “other” are considered equal).

Metadata

Release files for rl_wsd_labeled 0.1.1

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

Source distribution (sdist)

Source distribution for rl_wsd_labeled 0.1.1
File Size Uploaded Provenance Actions
rl_wsd_labeled-0.1.1.tar.gz 1.3 MB Without provenance Details for rl_wsd_labeled-0.1.1.tar.gz

Release files / rl_wsd_labeled-0.1.1.tar.gz

Download URL rl_wsd_labeled-0.1.1.tar.gz
Size 1.3 MB
Tags Source
SHA-256 checksum
How to use checksums
9b1ad7e66e8d3f8cf249220b9284cdc31e235d2e270d1aa152cf218b558ee482
BLAKE2b-256 checksum
How to use checksums
c19d8637fb2ca2df57cdc2eb344d9db3d59bdfe224c63a05889fde2f99eb86df
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for rl_wsd_labeled 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

1 release file No provenance

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