Yes, if you have a dependency tree grouping the noun phrase you can use Move WithChild https://visl.sdu.dk/cg3/chunked/rules.html#move-switch to move the whole sub-tree to another position.
As for using CG to make grammar checkers in general, you should take a look at https://github.com/divvun/libdivvun and http://visl.sdu.dk/~eckhard/pdf/ranlp2015_proofing.pdf -- Tino Didriksen On Thursday, 21 February 2019 14:43:34 UTC+1, Bjørn Seljebotn wrote: > > > > Hi > I'm investigating CG3 for purpose of testing it for use in grammar > checking. Then some fundamental questions arise: > > From what I understand it is possible to build simple tree structures, > like defining a nominal phrase. Correct? > > If so, is it then possible to change the ordering on phrase level, like > "You should immediatly read the most reliable newspaper in town" to > "The most reliable newspaper in town you should read immediatly." > > I need to make general rules that can switch the ordering of whole phrases > and not just word for word. > > Thanks for any comment. > > Bjørn Seljebotn > -- You received this message because you are subscribed to the Google Groups "Constraint Grammar" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/constraint-grammar. For more options, visit https://groups.google.com/d/optout.
