Category Archives: code

Quick note on visccg and UTF-8 for openccg beginners

If you can’t get UTF-8 to work in visccg (looking at Stack Overflow suggests this might be a Python-on-the-Mac thing, but I wouldn’t swear to it) you can still edit .ccg files in Your Favourite Text Editor and ccg2xml will … Continue reading

Posted in openccg | 2 Comments

What is the simplest parser that could possibly work?

Behind this blog is a happy half hour or so I spent on Friday evening writing a bit of code to do forward composition in a really simple-minded way. Forward composition, in categorial grammar, is applying the following rule: X/Y … Continue reading

Posted in code | Leave a comment