rug-compling/alpinocorpus-python — pull request #3 by andreasvc (2013-10-04 14:40:15+00:00)
Title: add macro support

- when loading a corpus, a macros file can be specified:
``c = CorpusReader('corpus.dact', macrosFilename='macros.txt')``
- macros will be expanded when doing xpath queries:
``c.xpath('//node[%headrel%]')``