Changing ordering on phrase level

Skip to first unread message

Feb 21, 2019, 8:43:34 AM2/21/19
to Constraint Grammar

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

Tino Didriksen

Feb 21, 2019, 8:53:39 AM2/21/19
to Constraint Grammar
Yes, if you have a dependency tree grouping the noun phrase you can use Move WithChild 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 and

-- Tino Didriksen
Reply all
Reply to author
0 new messages