3 ms·
Ohm is really a nice system — I’m using it to process text extracted from pdf documents. Lots of regular expressions were used before and without control of th
by breatheoften 7y ago
Ohm is really a nice system — I’m using it to process text extracted from pdf documents.
Lots of regular expressions were used before and without control of the documents (which change over time) this kind of code was just unmanageably difficult to maintain.
Being able to use negative look ahead with lists of grammar symbols provides an incredibly large amount of power to resolve ambiguities and makes it relatively easy to arrive at an explainable grammar capable of handling “every sample we’ve seen so far drawn from an only partially observable language” ...