Repository navigation
Maven Central: net.seninp:grammarviz2:3.0.7. The self-contained jar (GUI main class) is attached: java -Xmx4g -jar grammarviz2-3.0.7-jar-with-dependencies.jar.
Fixed
- RRA with RePair never exited.
GrammarVizAnomaly -alg RRA -g REPAIR(andRRAPRUNED)
printed its discords and then hung: the parallel SAX pool's threads are not daemons and were
never shut down. EveryParallelSAXImplementationis now shut down after use. The GUI no
longer leaks two pool threads on every RePair run. -oaccepts an absolute prefix. The output prefix was always appended to the working
directory, so an absolute path failed withFileNotFoundException. A relative prefix still
resolves against the working directory.--helpand the bare commands.GrammarVizAnomaly -hthrew an exception instead of
printing the usage text.TS2SequiturGrammarprinted its usage text and then threw a
NullPointerException, with no arguments and with-h. Both now print the usage and exit.- Release content:
density_curve.txt(1.6 MB, written by the GUI while testing #71) was
committed to the repository root and shipped in the 3.0.6 source. It is removed.
Changed
- The GUI's grammar option reads "RePair", the spelling used across the stack (was "Re-Pair").
- Dependencies: jmotif-gi 2.1.1. Its
GIAlgorithm.toString()returns "RePair", so the
CLI usage text lists-gvalues as[Sequitur, RePair].