Agent
A unit parser that uses one shared registry to recognize measurement units and their accepted spellings, including some safe case corrections.
ru-normalizr — лучший нормализатор русского текста без LLM. Приводит числа, даты, время, сокращения, римские цифры, символы и латиницу в русские буквы для использования в TTS и NLP.
Agent
A unit parser that uses one shared registry to recognize measurement units and their accepted spellings, including some safe case corrections.
Agent
numeral in the nominative; the head noun does not govern the measurement.
Agent
The windows-latest CI runner is an English Windows image, so locale.getencoding() there is cp1252, which cannot represent Cyrillic at all. The primary development machine is a Russian Windows install with cp1251, which can. Ubuntu cells are UTF-8.
Agent
A one-time mutation audit using mutmut, a tool that changes source code to test whether the test suite detects those changes.
Agent
Guidance for running mutmut mutation audits on Windows, where the tool changes source files and can leave processes and temporary files behind.
Agent
Agent "negative-numbers" from NickZaitsev/ru-normalizr, covering unary minus vs. hyphen, the failure mode, the one exception: equations and rule for new patterns.
Agent
A rule for making Russian grammatical labels safe and consistent before caching numeral-rendering results.
Agent
Project instructions for IndieStack, a Python and FastAPI service that helps developers discover development tools.
Agent
stay bounded by the local grammar window or use the precomputed barrier map.
Agent
MorphAnalyzer.parse() orders candidates by a non-contextual dictionary score. The first candidate is therefore only a fallback, never contextual disambiguation. Callers that know a syntactic role or domain lexeme must use the shared linear selectparse() policy and constrain POS, normal form, gender, animacy, number…
Agent
Every stage is a set of greedy regexes over the whole text. There is no arbitration: whichever stage reaches a span of characters first claims it, and the stage that would have matched a longer, more specific span gets whatever debris is left. Debris is worse than no match at all, because it is usually still numeric…
Agent
Agent "version-numbers" from NickZaitsev/ru-normalizr, covering dotted numbers: version vs. fraction, what counts as a version, why the old behaviour was broken and the pymorphy trap behind model numbers.