natasha/yargy

Rule-based facts extraction for Russian language

64
/ 100
Established

Combines morphological analysis via Pymorphy2 with declarative grammar rules to extract nested structured facts—users define extraction patterns using predicates, relations (like gender-number-case agreement), and interpretation mappings that output typed fact objects. Designed for Russian NLP with support for morphological constraints, dictionary-based matching, and relation-aware pattern composition similar to Tomita parser.

330 stars and 41,023 monthly downloads. Used by 1 other package. No commits in the last 6 months. Available on PyPI.

Stale 6m
Maintenance 0 / 25
Adoption 21 / 25
Maturity 25 / 25
Community 18 / 25

How are scores calculated?

Stars

330

Forks

43

Language

Python

License

MIT

Last pushed

Jul 24, 2023

Monthly downloads

41,023

Commits (30d)

0

Dependencies

1

Reverse dependents

1

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/nlp/natasha/yargy"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.