| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 3 days | Add Rust implementation of SCFG decoder | Patrick Simianer | |
| Rust port of the Ruby prototype decoder with performance optimizations for real Hiero-style grammars: - Rule indexing by first terminal/NT symbol for fast lookup - Chart symbol interning (u16 IDs) instead of string hashing - Passive chart index by (symbol, left) for direct right-endpoint lookup - Items store rule index instead of cloned rule data Includes CKY+ parser, chart-to-hypergraph conversion, Viterbi decoding, derivation extraction, and JSON hypergraph I/O. Self-filling step in parse uses grammar lookup (not just remaining active items) to handle rules that were consumed during the parse loop or skipped by the has_any_at optimization. Produces identical output to the Ruby prototype on all test examples. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> | |||
| 5 days | Replace silent rescue with explicit type check in Item constructor | Patrick Simianer | |
| When creating an Item from a Rule (not an Item), tail_spans doesn't exist. Check with is_a?(Item) instead of catching the exception silently. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> | |||
| 5 days | Emit binary glue rule only once | Patrick Simianer | |
| The [S] -> [S] [X] concatenation rule was duplicated for every non-S LHS symbol. Move it out of the loop so it's added once. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> | |||
| 5 days | Deduplicate all_paths by reachable edge set | Patrick Simianer | |
| The Cartesian product over all nodes produces duplicate derivations when edges differ only in nodes unreachable from the top. Walk reachable edges from the top edge of each path and drop paths with identical reachable sets. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> | |||
| 5 days | Fix reordering bug in derive and add test example | Patrick Simianer | |
| derive used a sequential counter to index into the source-side NT map, which only worked for monotone rules. Now looks up tails by the target NT's own index via map.index(i.index). Adds toy-reorder example (German verb-final -> English SVO) to exercise the fix. Also updates trollop -> optimist and guards xmlsimple require. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> | |||
| 2017-08-04 | external/README | Patrick Simianer | |
| 2017-08-04 | archived outputs | Patrick Simianer | |
| 2016-07-05 | ignore | Patrick Simianer | |
| 2016-06-24 | ow binary | Patrick Simianer | |
| 2016-06-17 | example/2002 | Patrick Simianer | |
| 2016-06-17 | rm | Patrick Simianer | |
| 2016-06-17 | fix | Patrick Simianer | |
| 2015-11-16 | sv_path | Patrick Simianer | |
| 2015-11-16 | new obj. | Patrick Simianer | |
| 2015-11-16 | mv | Patrick Simianer | |
| 2015-11-16 | weaver_proto -> ow_proto | Patrick Simianer | |
| 2015-11-16 | weaver_proto -> ow_proto | Patrick Simianer | |
| 2015-11-16 | new cdec2json.py | Patrick Simianer | |
| 2015-07-06 | misc | Patrick Simianer | |
| 2015-07-06 | misc | Patrick Simianer | |
| 2015-03-23 | gitignore | Patrick Simianer | |
| 2015-03-23 | README | Patrick Simianer | |
| 2015-03-23 | pretty makefile | Patrick Simianer | |
| 2015-03-23 | misc changes | Patrick Simianer | |
| 2015-03-23 | fix prototype | Patrick Simianer | |
| 2015-03-23 | modules | Patrick Simianer | |
| 2015-03-23 | updated examples | Patrick Simianer | |
| 2015-01-14 | small changes | Patrick Simianer | |
| 2015-01-14 | include | Patrick Simianer | |
| 2015-01-14 | fixes to prototype | Patrick Simianer | |
| 2015-01-14 | example/run | Patrick Simianer | |
| 2015-01-14 | revised Makefile | Patrick Simianer | |
| 2015-01-14 | ignore | Patrick Simianer | |
| 2015-01-14 | cdec2json.py | Patrick Simianer | |
| 2015-01-14 | example/3 | Patrick Simianer | |
| 2015-01-14 | test hypergraph | Patrick Simianer | |
| 2014-09-20 | meta | Patrick Simianer | |
| 2014-09-20 | example/weights | Patrick Simianer | |
| 2014-09-20 | example | Patrick Simianer | |
| 2014-09-20 | example | Patrick Simianer | |
| 2014-09-20 | prototype: fixed grammar handling | Patrick Simianer | |
| 2014-09-16 | spring cleaning | Patrick Simianer | |
| 2014-09-16 | adding examples | Patrick Simianer | |
| 2014-08-24 | fixes | Patrick Simianer | |
| 2014-08-23 | rewritten grammar | Patrick Simianer | |
| 2014-08-17 | functional again | Patrick Simianer | |
| 2014-08-05 | too much to tell | Patrick Simianer | |
| 2014-07-24 | arg | Patrick Simianer | |
| 2014-07-23 | cosmetic | Patrick Simianer | |
| 2014-07-22 | simple sparse vector type | Patrick Simianer | |
