Repository navigation
lingrep 0.10.0
Patterns in lingrep 0.10.0 can match dependency paths and SUD deep features.
ling diff compares two match runs, ling tokenize exports CoNLL-U, and
ling check finds unsatisfiable definitions without a corpus. Rebuild count
tables: definitions that use &, measure, or same_as publish fewer nested
matches than in 0.9.
curl --proto '=https' --proto-redir '=https' --tlsv1.2 -fsSLO https://github.com/borh/lingrep/releases/download/v0.10.0/install.sh
sh install.shInstall the Python bindings with python -m pip install lingrep==0.10.0.
Dependency paths, SUD deep features and span-layer trees
-[+ LABELS]->matches a path of basic dependency edges, and the first or
last edge can be tested separately.
Basic paths- Edge tests match SUD deep features such as
comp:aux@passon basic or
enhanced edges, anddeep(…)projects them.
SUD deep features tree(LAYER)measures dependency trees in a named span layer.
Occurrence measurements
Compare runs, export CoNLL-U and check catalogs
ling diffcompares saved match runs over the same corpus by span, named
role, or complete record, and writeslingrep.diff/v1JSONL.
Match comparison guideling tokenize --output-format conlluexports direct or prepared input as
CoNLL-U.
CoNLL-U export guideling --json summarize --by-window Ncounts occurrences per document-local
token window and writeslingrep.window-counts/v1.
Window counts guideling checkreports unsatisfiable token tests and definitions.
--containmentcompares which spans definitions can publish,
--verify-examplesexplains failed examples, and
--propose-counterexamples FILEfinds sentences that match after one
constraint is removed.
Catalog checks
Web interface
- The Workbench compares the edited pattern with the last search and opens
differing occurrences in the reader. - The Sample debugger verifies catalog examples and counterexamples, shows
which pattern element consumed each token, and can analyze edited text with
a configured GiNZA, spaCy, Stanza, protocol adapter, or Sudachi analyzer.
Live sample analyzer setup - The Question page groups hits by work, with work totals and source
positions, and sorts across all indexed hits. - The web pages have a dark theme, skip links, and Tab navigation between the
editor and adjacent controls. - The Japanese interface uses セクション for a document section, 一致箇所 for
a match, and 出現 for a counted occurrence.
GiNZA and spaCy transformer models on Apple Silicon
A spaCy or GiNZA transformer model runs on Apple Silicon with
backend = "mps". lingrep-spacy-setup selects it by default when the
environment's PyTorch reports MPS available. When MPS is unavailable, an
analyzer set up for mps fails at startup.
External analyzer setup
Upgrade from 0.9
- Rebuild count tables. The matcher revision is
lingrep-core-matcher/v3, and
lingrejects a table written by an earlier release. A definition that
uses&,measure, orsame_asdrops a span when another span from the
same definition starts earlier and ends later.
Match publication rules patterns/sf-experimental.lxcounts overlapping definitions. Pass
--overlaps longestto select one record per overlapping set.- Rebuild BCCWJ artifacts to restore leading zeros in genre codes.
- Set
--md-recover-conversion-artifactswhen you build a corpus.ling
rejects it with--corpus. - Rust callers of the corpus API read through
PreparedTokenReaderfor
random access andPreparedSentenceSourcefor sequential reads, and
MatchSinkimplementations declare an associated error type.
This release updates url to 2.5.9, which fixes RUSTSEC-2026-0592.
Adapter wheels use version 0.10.0. See the
changelog for the complete list of changes.