by jmmcd · 13y ago · 0 comments
Since you say it's obsolete, do you have any links to papers or software related to successors of the Sequitur algorithm?
http://www.mitpressjournals.org/doi/abs/10.1162/neco.1992.4....
Abstract: We show that a recurrent, second-order neural network using a real-time, forward training algorithm readily learns to infer small regular grammars from positive and negative string training samples. We present simulations that show the effect of initial conditions, training set size and order, and neural network architecture...
http://download.springer.com/static/pdf/967/bfm%253A978-3-64...
[1] http://www.larsson.dogma.net/dcc99.pdf
[2] http://www.cs.virginia.edu/~shelat/papers/GrammarIEEE.pdf
I think RePair can be regarded as grammar-based (though they don't say so), but I don't think it produces a grammar which would be useful in any context other than reproducing the original sentence.
What I would really love (and maybe I'll just have to write it myself?) is a practical algorithm (not too worried about worst-case guarantees etc) which produces a semi-readable grammar from multiple example sentences, and can then be turned around to generate lots of new sentences.
If you are interested in learning what a grammar should look like (which is very different from optimizing the number of rules) you may want to look into stochastic grammars http://en.wikipedia.org/wiki/Stochastic_grammar.