[X-POST /v/XSL] CYK parsing algorithm in XSLT?

2    21 Oct 2015 12:20 by u/Bloo

I am quite lost, and was seeking help on Reddit when I got redirected here.

I am working on a coursework that requires to write and implement a CYK algorithm in XSL. Problem is, the pseudo-code for the algorithm is quite confusing and seems to follow a procedural approach, which I am not sure can be translated into XSL?

The specification is; given a XML document that contains a set of rules, you are to parse a second XML document containing a set of sentences, producing a tree for each sentence and the grammar which it adheres to.

0 comments

No comments archived.